1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00

Add missing condition for pg_depend in hstore migration script.

Error noted by Andres Freund.
This commit is contained in:
Andrew Dunstan 2013-09-30 11:33:54 -04:00
parent 7f165f2587
commit d794eae613

View File

@ -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