Index: openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql	27 Jul 2015 12:29:28 -0000	1.1
+++ openacs-4/packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql	27 Jul 2015 12:52:59 -0000	1.2
@@ -256,3 +256,12 @@
 
 select inline_0();
 drop function inline_0();
+
+-- the triggers are deleted automatically
+--
+--    drop trigger acs_objects_insert_tr on acs_objects;
+--    drop trigger acs_objects_update_tr on acs_objects;
+
+drop function acs_objects_get_tree_sortkey(integer);
+drop function acs_objects_insert_tr();
+drop function acs_objects_update_tr();
