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@mvlc.org>
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