[open-ils-commits] r15349 - trunk/Open-ILS/src/sql/Pg (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jan 20 14:06:03 EST 2010


Author: miker
Date: 2010-01-20 14:05:59 -0500 (Wed, 20 Jan 2010)
New Revision: 15349

Modified:
   trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql
Log:
typo/thinko -- no s modifier for regex in PG

Modified: trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql	2010-01-20 18:04:04 UTC (rev 15348)
+++ trunk/Open-ILS/src/sql/Pg/030.schema.metabib.sql	2010-01-20 19:05:59 UTC (rev 15349)
@@ -333,7 +333,7 @@
 		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;
 



More information about the open-ils-commits mailing list