[open-ils-commits] r9912 - trunk/Evergreen/src/extras/import
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Jun 22 23:04:32 EDT 2008
Author: dbs
Date: 2008-06-22 23:04:30 -0400 (Sun, 22 Jun 2008)
New Revision: 9912
Modified:
trunk/Evergreen/src/extras/import/quick_metarecord_map.sql
Log:
Another constraint that needs to be DEFERRED INITIALLY DEFERRED
Modified: trunk/Evergreen/src/extras/import/quick_metarecord_map.sql
===================================================================
--- trunk/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-06-23 02:58:50 UTC (rev 9911)
+++ trunk/Evergreen/src/extras/import/quick_metarecord_map.sql 2008-06-23 03:04:30 UTC (rev 9912)
@@ -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