Thanks to Anoop Atre for catching this.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@16331
dcc99617-32d9-48b4-a31d-
7c20da2025e4
$$ 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