projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebdea0
)
Add missing condition for pg_depend in hstore migration script.
author
Andrew Dunstan
<andrew@dunslane.net>
Mon, 30 Sep 2013 15:33:54 +0000
(11:33 -0400)
committer
Andrew Dunstan
<andrew@dunslane.net>
Mon, 30 Sep 2013 15:33:54 +0000
(11:33 -0400)
Error noted by Andres Freund.
contrib/hstore/hstore--1.1--1.2.sql
patch
|
blob
|
history
diff --git
a/contrib/hstore/hstore--1.1--1.2.sql
b/contrib/hstore/hstore--1.1--1.2.sql
index 99b8a168fa3b873fc118085ee91785b363c90b8c..9c127d44033c8dbf191ca6c16f20e6db4e3a46a1 100644
(file)
--- a/
contrib/hstore/hstore--1.1--1.2.sql
+++ b/
contrib/hstore/hstore--1.1--1.2.sql
@@
-18,6
+18,7
@@
BEGIN
FROM pg_proc p
JOIN pg_depend d
ON p.proname = 'hstore_to_json_loose'
+ AND d.classid = 'pg_proc'::regclass
AND d.objid = p.oid
AND d.refclassid = 'pg_extension'::regclass
JOIN pg_extension x