need to update this index as well
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 16 Oct 2010 15:35:39 +0000 (15:35 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 16 Oct 2010 15:35:39 +0000 (15:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18365 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

index 3a6b952..0edf98b 100644 (file)
@@ -1,6 +1,10 @@
 -- Before starting the transaction: drop some constraints that
 -- may or may not exist.
 
+DROP INDEX asset.asset_call_number_upper_label_id_owning_lib_idx;
+CREATE INDEX asset_call_number_upper_label_id_owning_lib_idx ON asset.call_number (oils_text_as_bytea(upper(label)),id,owning_lib);
+
+
 \qecho Before starting the transaction: drop some constraints.
 \qecho If a DROP fails because the constraint doesn't exist, ignore the failure.