[open-ils-commits] r10141 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jul 25 20:39:34 EDT 2008
Author: miker
Date: 2008-07-25 20:39:28 -0400 (Fri, 25 Jul 2008)
New Revision: 10141
Modified:
trunk/Open-ILS/src/sql/Pg/000.english.pg81.fts-config.sql
trunk/Open-ILS/src/sql/Pg/000.english.pg82.fts-config.sql
trunk/Open-ILS/src/sql/Pg/extend-reporter.sql
Log:
adding set_curcfg() call to tsearch2 configuration script for 8.2 and 8.1; fixing datatype of extend_reporter.legacy_circ_count.id (harmless, but useless, thinko)
Modified: trunk/Open-ILS/src/sql/Pg/000.english.pg81.fts-config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/000.english.pg81.fts-config.sql 2008-07-25 19:55:32 UTC (rev 10140)
+++ trunk/Open-ILS/src/sql/Pg/000.english.pg81.fts-config.sql 2008-07-26 00:39:28 UTC (rev 10141)
@@ -133,4 +133,6 @@
INSERT INTO pg_ts_cfgmap VALUES ('series', 'lpart_hword', '{en_stem_nostop}');
INSERT INTO pg_ts_cfgmap VALUES ('series', 'lhword', '{en_stem_nostop}');
+SELECT set_curcfg('default');
+
COMMIT;
Modified: trunk/Open-ILS/src/sql/Pg/000.english.pg82.fts-config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/000.english.pg82.fts-config.sql 2008-07-25 19:55:32 UTC (rev 10140)
+++ trunk/Open-ILS/src/sql/Pg/000.english.pg82.fts-config.sql 2008-07-26 00:39:28 UTC (rev 10141)
@@ -133,4 +133,6 @@
INSERT INTO pg_ts_cfgmap VALUES ('series', 'lpart_hword', '{en_stem_nostop}');
INSERT INTO pg_ts_cfgmap VALUES ('series', 'lhword', '{en_stem_nostop}');
+SELECT set_curcfg('default');
+
COMMIT;
Modified: trunk/Open-ILS/src/sql/Pg/extend-reporter.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-07-25 19:55:32 UTC (rev 10140)
+++ trunk/Open-ILS/src/sql/Pg/extend-reporter.sql 2008-07-26 00:39:28 UTC (rev 10141)
@@ -21,7 +21,7 @@
CREATE SCHEMA extend_reporter;
CREATE TABLE extend_reporter.legacy_circ_count (
- id BIGSERIAL PRIMARY KEY REFERENCES asset.copy (id),
+ id BIGINT PRIMARY KEY REFERENCES asset.copy (id),
circ_count INT NOT NULL DEFAULT 0
);
More information about the open-ils-commits
mailing list