LP#1261355 Rejigger 2.4.3-2.5.0 upgrade bits user/dbwells/lp1261355_constraint_upgrade_fixes_2_5
authorDan Wells <dbw2@calvin.edu>
Thu, 16 Jan 2014 21:01:09 +0000 (16:01 -0500)
committerDan Wells <dbw2@calvin.edu>
Mon, 24 Feb 2014 15:50:51 +0000 (10:50 -0500)
commitdb123aa597ba465c4f5de2aead559fe8717b8778
treee2545f6816d1947bcab9be0465b0c64e57612faf
parente406e36122b07f97f1c6ec6d5397550b03949b1b
LP#1261355 Rejigger 2.4.3-2.5.0 upgrade bits

As reported in LP#1261355, Postgres fails in some cases when changing
constraints on existing data inside a transaction.  This may or may not
fix the actual problem, but it at least tidies up these changes, and
will make it much cleaner to move outside the transaction if needed.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Open-ILS/src/sql/Pg/version-upgrade/2.4.3-2.5.0-upgrade-db.sql