[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. 2d66e9bf9626c2f0bef57686abbbfc28f79775b5
Evergreen Git
git at git.evergreen-ils.org
Wed May 13 14:05:43 EDT 2015
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_7 has been updated
via 2d66e9bf9626c2f0bef57686abbbfc28f79775b5 (commit)
via 96879d4bfb2ebb1375441025d1027322f5b89e5d (commit)
via 619a1707585da5c0add76085e696a00d63103886 (commit)
from e77a803e77adee8ef1ac03899159addf6328bcdf (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 2d66e9bf9626c2f0bef57686abbbfc28f79775b5
Author: Jason Stephenson <jstephenson at mvlc.org>
Date: Wed May 13 13:51:35 2015 -0400
LP#800706: Stamping upgrade script
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql
diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 2d5f0f5..e434596 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 ('0915', :eg_version); -- berick
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0917', :eg_version); -- gmcharlt/dyrcona
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql b/Open-ILS/src/sql/Pg/upgrade/0917.schema.index-record-in-sre.sql
similarity index 66%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql
rename to Open-ILS/src/sql/Pg/upgrade/0917.schema.index-record-in-sre.sql
index aea7e08..d3c0095 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0917.schema.index-record-in-sre.sql
@@ -2,7 +2,7 @@
BEGIN;
--- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0917', :eg_version);
CREATE INDEX serial_record_entry_record_idx ON serial.record_entry ( record );
commit 96879d4bfb2ebb1375441025d1027322f5b89e5d
Author: Galen Charlton <gmc at esilibrary.com>
Date: Tue May 12 16:02:09 2015 -0400
LP#800706: add regression test
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/sql/Pg/t/regress/lp800706_ser_indexes_record.pg b/Open-ILS/src/sql/Pg/t/regress/lp800706_ser_indexes_record.pg
new file mode 100644
index 0000000..cf714e6
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/t/regress/lp800706_ser_indexes_record.pg
@@ -0,0 +1,7 @@
+BEGIN;
+
+SELECT plan(1);
+
+SELECT has_index('serial', 'record_entry', 'serial_record_entry_record_idx', ARRAY['record']);
+
+ROLLBACK;
commit 619a1707585da5c0add76085e696a00d63103886
Author: Galen Charlton <gmc at esilibrary.com>
Date: Tue May 12 15:27:07 2015 -0400
LP#800706: add index to serial.record_entry.record
This patch adds index on the record column of serial.record_entry,
which can improve performance when displaying record details pages
in databases that have a large number MFHDs.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/sql/Pg/210.schema.serials.sql b/Open-ILS/src/sql/Pg/210.schema.serials.sql
index 620d57e..2e5af44 100644
--- a/Open-ILS/src/sql/Pg/210.schema.serials.sql
+++ b/Open-ILS/src/sql/Pg/210.schema.serials.sql
@@ -20,6 +20,7 @@ CREATE TABLE serial.record_entry (
marc TEXT,
last_xact_id TEXT NOT NULL
);
+CREATE INDEX serial_record_entry_record_idx ON serial.record_entry ( record );
CREATE INDEX serial_record_entry_creator_idx ON serial.record_entry ( creator );
CREATE INDEX serial_record_entry_editor_idx ON serial.record_entry ( editor );
CREATE INDEX serial_record_entry_owning_lib_idx ON serial.record_entry ( owning_lib, deleted );
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql
new file mode 100644
index 0000000..aea7e08
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql
@@ -0,0 +1,9 @@
+-- index serial.record_entry.record
+
+BEGIN;
+
+-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+CREATE INDEX serial_record_entry_record_idx ON serial.record_entry ( record );
+
+COMMIT;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +-
Open-ILS/src/sql/Pg/210.schema.serials.sql | 1 +
.../Pg/t/regress/lp800706_ser_indexes_record.pg | 7 +++++++
.../Pg/upgrade/0917.schema.index-record-in-sre.sql | 9 +++++++++
4 files changed, 18 insertions(+), 1 deletions(-)
create mode 100644 Open-ILS/src/sql/Pg/t/regress/lp800706_ser_indexes_record.pg
create mode 100644 Open-ILS/src/sql/Pg/upgrade/0917.schema.index-record-in-sre.sql
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list