[open-ils-commits] r11350 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Nov 25 17:47:34 EST 2008
Author: dbs
Date: 2008-11-25 17:47:30 -0500 (Tue, 25 Nov 2008)
New Revision: 11350
Modified:
trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
Log:
TEXT and BIGINT don't play nicely together, especially in PostgreSQL 8.3
Perhaps this mismatch is part of the reason for some reported sluggishness in Vandelay import in 1.4?
Modified: trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql 2008-11-25 21:32:43 UTC (rev 11349)
+++ trunk/Open-ILS/src/sql/Pg/012.schema.vandelay.sql 2008-11-25 22:47:30 UTC (rev 11350)
@@ -69,7 +69,7 @@
CREATE TABLE vandelay.bib_queue (
queue_type TEXT NOT NULL DEFAULT 'bib' CHECK (queue_type = 'bib'),
- item_attr_def TEXT REFERENCES vandelay.import_item_attr_definition (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED,
+ item_attr_def BIGINT REFERENCES vandelay.import_item_attr_definition (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED,
CONSTRAINT vand_bib_queue_name_once_per_owner_const UNIQUE (owner,name,queue_type)
) INHERITS (vandelay.queue);
ALTER TABLE vandelay.bib_queue ADD PRIMARY KEY (id);
More information about the open-ils-commits
mailing list