[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_5 updated. 0fa5d67e9ecdd6e8261b100c70c2cab5f6289d55

Evergreen Git git at git.evergreen-ils.org
Fri Oct 10 11:36:41 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_5 has been updated
       via  0fa5d67e9ecdd6e8261b100c70c2cab5f6289d55 (commit)
       via  f27d932e0e9d56eb46e2f6973e7794e769167cfc (commit)
      from  8834a32c3bb6e5e496e2be7841f7f1590ecbd50e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0fa5d67e9ecdd6e8261b100c70c2cab5f6289d55
Author: Ben Shum <bshum at biblio.org>
Date:   Fri Oct 10 11:35:25 2014 -0400

    LP#1374551: Stamping upgrade script for new index on money.billing.voider
    
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 160c1e8..803c01e 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps
     BEFORE INSERT OR UPDATE ON config.db_patch_dependencies
     FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0893', :eg_version); -- csharp/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0894', :eg_version); -- csharp/bshum
 
 CREATE TABLE config.bib_source (
 	id		SERIAL	PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql b/Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
similarity index 53%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
rename to Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
index 71fd220..5fb3649 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
@@ -1,6 +1,6 @@
 BEGIN;
 
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0894', :eg_version);
 
 CREATE INDEX m_b_voider_idx ON money.billing (voider);
 

commit f27d932e0e9d56eb46e2f6973e7794e769167cfc
Author: Chris Sharp <csharp at georgialibraries.org>
Date:   Fri Sep 26 14:19:22 2014 -0400

    LP#1374551: Create index on money.billing.voider to speed user merge.
    
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/sql/Pg/080.schema.money.sql b/Open-ILS/src/sql/Pg/080.schema.money.sql
index 5004f00..fc0cfe3 100644
--- a/Open-ILS/src/sql/Pg/080.schema.money.sql
+++ b/Open-ILS/src/sql/Pg/080.schema.money.sql
@@ -62,6 +62,7 @@ CREATE TABLE money.billing (
 );
 CREATE INDEX m_b_xact_idx ON money.billing (xact);
 CREATE INDEX m_b_time_idx ON money.billing (billing_ts);
+CREATE INDEX m_b_voider_idx ON money.billing (voider); -- helps user merge function speed
 
 CREATE TABLE money.payment (
 	id		BIGSERIAL			PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
new file mode 100644
index 0000000..71fd220
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
@@ -0,0 +1,7 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+CREATE INDEX m_b_voider_idx ON money.billing (voider);
+
+COMMIT;

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/sql/Pg/002.schema.config.sql          |    2 +-
 Open-ILS/src/sql/Pg/080.schema.money.sql           |    1 +
 .../Pg/upgrade/0894.index.money_billing.voider.sql |    7 +++++++
 3 files changed, 9 insertions(+), 1 deletions(-)
 create mode 100644 Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list