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 eebdea08bb
commit 7ce569babd
1 changed files with 1 additions and 0 deletions

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