Commit 7ce569ba authored by Andrew Dunstan's avatar Andrew Dunstan

Add missing condition for pg_depend in hstore migration script.

Error noted by Andres Freund.
parent eebdea08
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment