[open-ils-commits] r9988 -
branches/rel_1_2_2/Evergreen/src/extras/import
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jul 8 12:32:54 EDT 2008
Author: dbs
Date: 2008-07-08 12:32:52 -0400 (Tue, 08 Jul 2008)
New Revision: 9988
Modified:
branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql
Log:
Backport r9912:
* Another constraint that needs to be DEFERRED INITIALLY DEFERRED
Modified: branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql
===================================================================
--- branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-07-08 16:32:21 UTC (rev 9987)
+++ branches/rel_1_2_2/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-07-08 16:32:52 UTC (rev 9988)
@@ -18,7 +18,7 @@
FROM biblio.record_entry b
JOIN metabib.metarecord m ON (m.fingerprint = b.fingerprint);
-ALTER TABLE metabib.metarecord_source_map ADD CONSTRAINT metabib_metarecord_source_map_metarecord_fkey FOREIGN KEY (metarecord) REFERENCES metabib.metarecord (id);
+ALTER TABLE metabib.metarecord_source_map ADD CONSTRAINT metabib_metarecord_source_map_metarecord_fkey FOREIGN KEY (metarecord) REFERENCES metabib.metarecord (id) DEFERRABLE INITIALLY DEFERRED;
COMMIT;
More information about the open-ils-commits
mailing list