projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ca57f
)
LP#1125270: Add a DROP FUNCTION for actor.usr_purge_data
user/bshum/lp1125270-quick-fix
author
Ben Shum
<bshum@biblio.org>
Tue, 3 Mar 2015 02:49:55 +0000
(21:49 -0500)
committer
Ben Shum
<bshum@biblio.org>
Tue, 3 Mar 2015 02:49:55 +0000
(21:49 -0500)
Apparently this caused problems on upgrading from 2.0 to 2.1 back in the day,
and adding a DROP FUNCTION ahead of the CREATE dealt with the situation.
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
b/Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
index
3638766
..
219da6b
100644
(file)
--- a/
Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
+++ b/
Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql
@@
-310,6
+310,8
@@
INSERT INTO config.hold_matrix_weights(name, user_home_ou, request_ou, pickup_ou
INSERT INTO config.weight_assoc(active, org_unit, circ_weights, hold_weights) VALUES
(true, 1, 1, 1);
+-- LP1125270
+DROP FUNCTION IF EXISTS actor.usr_purge_data(INT, INT);
-- 0480
CREATE OR REPLACE FUNCTION actor.usr_purge_data(
src_usr IN INTEGER,