[open-ils-commits] r19569 - branches/rel_2_0/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Mar 3 10:48:33 EST 2011
Author: miker
Date: 2011-03-03 10:48:31 -0500 (Thu, 03 Mar 2011)
New Revision: 19569
Modified:
branches/rel_2_0/Open-ILS/src/sql/Pg/2.0.0-2.0.1-upgrade-db.sql
Log:
Patch (mildly revised) from Anoop Atre to address new Postgres 9.0 strictness requirements involving plan invalidation
Modified: branches/rel_2_0/Open-ILS/src/sql/Pg/2.0.0-2.0.1-upgrade-db.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/2.0.0-2.0.1-upgrade-db.sql 2011-03-03 06:04:25 UTC (rev 19568)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/2.0.0-2.0.1-upgrade-db.sql 2011-03-03 15:48:31 UTC (rev 19569)
@@ -3,7 +3,8 @@
INSERT INTO config.upgrade_log (version) VALUES ('2.0.1');
INSERT INTO config.upgrade_log (version) VALUES ('0480');
-CREATE OR REPLACE FUNCTION actor.usr_purge_data(
+DROP FUNCTION IF EXISTS actor.usr_purge_data(INT, INT);
+CREATE FUNCTION actor.usr_purge_data(
src_usr IN INTEGER,
specified_dest_usr IN INTEGER
) RETURNS VOID AS $$
More information about the open-ils-commits
mailing list