typo/thinko -- no s modifier for regex in PG
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Jan 2010 19:05:59 +0000 (19:05 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 20 Jan 2010 19:05:59 +0000 (19:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15349 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/030.schema.metabib.sql

index 1fc2dcc..1b60a35 100644 (file)
@@ -333,7 +333,7 @@ BEGIN
                output_row.field_class = idx.field_class;
                output_row.field = idx.id;
                output_row.source = rid;
-               output_row.value = BTRIM(REGEXP_REPLACE(raw_text, E'\\s+', ' ', 'gs'));
+               output_row.value = BTRIM(REGEXP_REPLACE(raw_text, E'\\s+', ' ', 'g'));
 
                RETURN NEXT output_row;