[open-ils-commits] [GIT] Evergreen ILS branch rel_2_8 updated. 6d9dc97e0b1810d9f065306d129c91be727a03f2

Evergreen Git git at git.evergreen-ils.org
Mon Jun 15 16:32:34 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_8 has been updated
       via  6d9dc97e0b1810d9f065306d129c91be727a03f2 (commit)
      from  fbcf2be3e500d7311ce7a9a380d431fbddfcc1ed (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 6d9dc97e0b1810d9f065306d129c91be727a03f2
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