Skip to content

Commit 7ce569b

Browse files
committed
Add missing condition for pg_depend in hstore migration script.
Error noted by Andres Freund.
1 parent eebdea0 commit 7ce569b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/hstore/hstore--1.1--1.2.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ BEGIN
1818
FROM pg_proc p
1919
JOIN pg_depend d
2020
ON p.proname = 'hstore_to_json_loose'
21+
AND d.classid = 'pg_proc'::regclass
2122
AND d.objid = p.oid
2223
AND d.refclassid = 'pg_extension'::regclass
2324
JOIN pg_extension x

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy