[open-ils-commits] r16331 - branches/rel_1_6_0/Open-ILS/src/sql/Pg (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 28 10:48:07 EDT 2010
Author: dbs
Date: 2010-04-28 10:48:05 -0400 (Wed, 28 Apr 2010)
New Revision: 16331
Modified:
branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql
Log:
Fix another DML bug in the 1.6.0.3-1.6.0.4 upgrade script.
Thanks to Anoop Atre for catching this.
Modified: branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql
===================================================================
--- branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql 2010-04-28 14:41:03 UTC (rev 16330)
+++ branches/rel_1_6_0/Open-ILS/src/sql/Pg/1.6.0.3-1.6.0.4-upgrade-db.sql 2010-04-28 14:48:05 UTC (rev 16331)
@@ -152,8 +152,11 @@
$$ LANGUAGE PLPGSQL;
-- And rebuild the materialized view that was built on money.billable_xact_summary
+-- If you're using Slony, delete instead of truncate!
+
+-- DELETE FROM money.materialized_billable_xact_summary;
TRUNCATE TABLE money.materialized_billable_xact_summary;
-INSERT INTO TABLE money.materialized_billable_xact_summary
+INSERT INTO money.materialized_billable_xact_summary
SELECT * FROM money.billable_xact_summary;
-- Updated in-db circ and functions which return a matchpoint whenever possible, for override
More information about the open-ils-commits
mailing list