projects
/
evergreen
/
pines.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6bb791
)
Only create extension intarray if it does not already exist
author
Ben Shum
<bshum@biblio.org>
Fri, 25 Apr 2014 00:58:17 +0000
(20:58 -0400)
committer
Ben Shum
<bshum@biblio.org>
Fri, 25 Apr 2014 00:58:17 +0000
(20:58 -0400)
Simple change to skip over adding intarray if it already exists in a database
for some reason.
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
b/Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
index
4307f90
..
a82802b
100644
(file)
--- a/
Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
+++ b/
Open-ILS/src/sql/Pg/upgrade/0864.MVF_CRA-upgrade.sql
@@
-2,7
+2,7
@@
BEGIN;
SELECT evergreen.upgrade_deps_block_check('0864', :eg_version);
-CREATE EXTENSION intarray;
+CREATE EXTENSION
IF NOT EXISTS
intarray;
-- while we have this opportunity, and before we start collecting
-- CCVM IDs (below) carve out a nice space for stock ccvm values