Index: openacs-4/packages/acs-kernel/sql/postgresql/journal-drop.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/journal-drop.sql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-kernel/sql/postgresql/journal-drop.sql 18 Jun 2004 18:21:57 -0000 1.2 +++ openacs-4/packages/acs-kernel/sql/postgresql/journal-drop.sql 7 Jul 2011 10:46:02 -0000 1.3 @@ -9,13 +9,14 @@ -- \t -create function inline_0 () returns integer as ' -begin +CREATE OR REPLACE FUNCTION inline_0 () RETURNS integer AS $$ +BEGIN PERFORM acs_object_type__drop_type( - ''journal_entry'', ''f'' + 'journal_entry', 'f' ); return null; -end;' language 'plpgsql'; +END; +$$ LANGUAGE plpgsql; select inline_0 (); drop function inline_0 ();