[open-ils-commits] r8516 - trunk/Open-ILS/src/sql/Pg

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jan 28 15:43:25 EST 2008


Author: miker
Date: 2008-01-28 15:16:10 -0500 (Mon, 28 Jan 2008)
New Revision: 8516

Modified:
   trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql
Log:
ok fine. use plperlu

Modified: trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql	2008-01-28 20:04:14 UTC (rev 8515)
+++ trunk/Open-ILS/src/sql/Pg/020.schema.functions.sql	2008-01-28 20:16:10 UTC (rev 8516)
@@ -53,7 +53,7 @@
 	$txt =~ s/\s+$//o;	# Remove trailing space
 
 	return $txt;
-$func$ LANGUAGE 'plperl' STRICT IMMUTABLE;
+$func$ LANGUAGE 'plperlu' STRICT IMMUTABLE;
 
 CREATE OR REPLACE FUNCTION public.naco_normalize( TEXT ) RETURNS TEXT AS $func$
 	SELECT public.naco_normalize($1,'');
@@ -69,7 +69,7 @@
 	} else {
 		return (split /\s+/, $txt)[0];
 	}
-$$ LANGUAGE 'plperl' STRICT IMMUTABLE;
+$$ LANGUAGE 'plperlu' STRICT IMMUTABLE;
 
 CREATE OR REPLACE FUNCTION public.call_number_dewey( TEXT, INT ) RETURNS TEXT AS $$
 	SELECT SUBSTRING(call_number_dewey($1) FROM 1 FOR $2);



More information about the open-ils-commits mailing list