2.8.4-2.9.0 DB upgrade script fails due to data vs. schema changes

Bug #1497307 reported by Chris Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Critical
Unassigned

Bug Description

When running Open-ILS/src/sql/Pg/version-upgrade/2.8.4-2.9.0-upgrade-db.sql, I get the following error:

psql:2.8.4-2.9.0-upgrade-db.sql:22204: ERROR: cannot ALTER TABLE "record_attr_definition" because it has pending trigger events

line 22203 and 22204 in that script:

ALTER TABLE config.record_attr_definition
    ADD COLUMN vocabulary TEXT;

Looks like we're going to have to separate another data update from the main script.

Evergreen 2.9.0
PostgreSQL 9.4
Ubuntu 14.04 LTS

Changed in evergreen:
status: New → Confirmed
assignee: nobody → Jason Stephenson (jstephenson)
Revision history for this message
Jason Stephenson (jstephenson) wrote :
tags: added: pullrequest upgrade
Changed in evergreen:
importance: Undecided → Critical
Changed in evergreen:
assignee: Jason Stephenson (jstephenson) → nobody
Revision history for this message
Chris Sharp (chrissharp123) wrote :

Okay, I tested and verifed that it works for me too. Signoff branch at working/user/csharp/lp1497307_fix_upgrade_script_signoff

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/csharp/lp1497307_fix_upgrade_script_signoff.

tags: added: signedoff
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Thanks, Chris!

I've pushed it to master, rel_2_9, and rel_2_9_0.

I will update the tarball and put that on the website.

Changed in evergreen:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.