Index: openacs-4/packages/acs-kernel/sql/postgresql/rel-segments-drop.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/rel-segments-drop.sql,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/acs-kernel/sql/postgresql/rel-segments-drop.sql	18 Jun 2004 18:21:57 -0000	1.5
+++ openacs-4/packages/acs-kernel/sql/postgresql/rel-segments-drop.sql	7 Jul 2011 10:46:02 -0000	1.6
@@ -14,9 +14,10 @@
 	PERFORM rel_segment__delete(r.segment_id);
     end loop;
 
-    PERFORM acs_object_type__drop_type(''rel_segment'');
+    PERFORM acs_object_type__drop_type('rel_segment');
     return null;
-end;' language 'plpgsql';
+END;
+$$ LANGUAGE plpgsql;
 select inline_0 ();
 
 drop view party_element_map;
