Index: openacs-4/packages/dotlrn/sql/postgresql/users-sanitize.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/sql/postgresql/users-sanitize.sql,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/dotlrn/sql/postgresql/users-sanitize.sql	1 Nov 2013 21:08:30 -0000	1.4
+++ openacs-4/packages/dotlrn/sql/postgresql/users-sanitize.sql	27 Oct 2014 16:41:15 -0000	1.5
@@ -28,7 +28,6 @@
 -- procedure inline_0/0
 --
 CREATE OR REPLACE FUNCTION inline_0(
-
 ) RETURNS integer AS $$
 DECLARE
     foo                         integer;
@@ -50,18 +49,16 @@
 
     return 0;
 END;
-
 $$ LANGUAGE plpgsql;
 
 select inline_0();
 drop function inline_0();
 
-create function inline_1()
-returns integer
-as '
-declare
+CREATE OR REPLACE FUNCTION inline_1(
+) RETURNS integer AS $$
+DECLARE
     foo                         integer;
-begin
+BEGIN
 
     select min(segment_id)
     into foo
@@ -90,7 +87,6 @@
 
     return 0;
 END;
-
 $$ LANGUAGE plpgsql;
 
 select inline_1();
