"as" not "to" ... you pointed that out the first time, miker, what is your deal?
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Oct 2010 20:06:49 +0000 (20:06 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Oct 2010 20:06:49 +0000 (20:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@18347 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/1.6.0.8-1.6.0.9-upgrade-db.sql

index ffa481e..8f51245 100644 (file)
@@ -19,6 +19,6 @@ BEGIN;
 INSERT INTO config.upgrade_log(version) VALUES ('1.6.0.9');
 
 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 (cast(upper(label) to bytea),id,owning_lib);
+CREATE INDEX asset_call_number_upper_label_id_owning_lib_idx ON asset.call_number (cast(upper(label) as bytea),id,owning_lib);
 
 COMMIT;