git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eebdea0)
Add missing condition for pg_depend in hstore migration script.
2013年9月30日 15:33:54 +0000 (11:33 -0400)
2013年9月30日 15:33:54 +0000 (11:33 -0400)
Error noted by Andres Freund.


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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /