[open-ils-commits] r10561 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Sep 8 15:14:07 EDT 2008
Author: dbs
Date: 2008-09-08 15:14:03 -0400 (Mon, 08 Sep 2008)
New Revision: 10561
Modified:
trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql
Log:
Enable LIKE to use an index on mfr.value for database clusters with locales other than C or POSIX
Modified: trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql 2008-09-08 18:32:50 UTC (rev 10560)
+++ trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql 2008-09-08 19:14:03 UTC (rev 10561)
@@ -153,6 +153,8 @@
CREATE INDEX metabib_full_rec_tag_subfield_idx ON metabib.real_full_rec (tag,subfield);
CREATE INDEX metabib_full_rec_value_idx ON metabib.real_full_rec (substring(value,1,1024));
+/* Enable LIKE to use an index for database clusters with locales other than C or POSIX */
+CREATE INDEX metabib_full_rec_value_tpo_index ON metabib.real_full_rec (substring(value,1,1024) text_pattern_ops);
CREATE INDEX metabib_full_rec_record_idx ON metabib.real_full_rec (record);
CREATE INDEX metabib_full_rec_index_vector_idx ON metabib.real_full_rec USING GIST (index_vector);
More information about the open-ils-commits
mailing list