[open-ils-commits] [GIT] Evergreen ILS branch master updated. 640e3441efb313f537f6bf3c751fab473ce7cb0d

Evergreen Git git at git.evergreen-ils.org
Mon Jun 15 16:32:02 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, master has been updated
       via  640e3441efb313f537f6bf3c751fab473ce7cb0d (commit)
      from  2ca895b5957c4d65e1484e0009f58bb7bfcc1e00 (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 640e3441efb313f537f6bf3c751fab473ce7cb0d
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