[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. 880c4f4a73caed2a20772ffcb83cb1e2ba9545fa
Evergreen Git
git at git.evergreen-ils.org
Mon Jun 15 16:32:52 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 880c4f4a73caed2a20772ffcb83cb1e2ba9545fa (commit)
from 2ad95e80361cbad5791dcc69734673187cc1718f (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 880c4f4a73caed2a20772ffcb83cb1e2ba9545fa
Author: Jason Stephenson <jstephenson at mvlc.org>
Date: Mon Jun 15 16:29:02 2015 -0400
LP 902255: Fix upgrade script.
Run as-is, the upgrade script produces an error:
ERROR: CREATE INDEX CONCURRENTLY cannot run inside a transaction block
Following this conversation in IRC, it was decided to remove the keyword
CONCURRENTLY from the create index statement.
http://irc.evergreen-ils.org/evergreen/2015-06-15#i_182857
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
diff --git a/Open-ILS/src/sql/Pg/upgrade/0920.schema.disallow-double-capture.sql b/Open-ILS/src/sql/Pg/upgrade/0920.schema.disallow-double-capture.sql
index 3e698c2..88f55f0 100644
--- a/Open-ILS/src/sql/Pg/upgrade/0920.schema.disallow-double-capture.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0920.schema.disallow-double-capture.sql
@@ -2,7 +2,7 @@ BEGIN;
SELECT evergreen.upgrade_deps_block_check('0920', :eg_version);
-CREATE UNIQUE INDEX CONCURRENTLY
+CREATE UNIQUE INDEX
hold_request_capture_protect_idx ON action.hold_request (current_copy)
WHERE current_copy IS NOT NULL -- sometimes null in old/bad data
AND capture_time IS NOT NULL
-----------------------------------------------------------------------
Summary of changes:
.../0920.schema.disallow-double-capture.sql | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list