Index: openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d22-5.9.1d23.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d22-5.9.1d23.sql,v
diff -u -r1.1.2.2 -r1.1.2.3
--- openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d22-5.9.1d23.sql	28 Nov 2016 19:53:23 -0000	1.1.2.2
+++ openacs-4/packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.9.1d22-5.9.1d23.sql	4 Jan 2017 15:18:41 -0000	1.1.2.3
@@ -22,7 +22,7 @@
 -- GN
 
 
-DROP FUNCTION content_item__set_live_revision(integer, character varying, timestamp with time zone);
+DROP FUNCTION IF EXISTS content_item__set_live_revision(integer, character varying, timestamp with time zone);
 
 select define_function_args('content_item__set_live_revision','revision_id,publish_status;ready,publish_date;now(),is_latest;f');
 --
