From d794eae6135b3bb43b54498e95253aa43d776905 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Mon, 30 Sep 2013 11:33:54 -0400 Subject: [PATCH] Add missing condition for pg_depend in hstore migration script. Error noted by Andres Freund. --- contrib/hstore/hstore--1.1--1.2.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/hstore/hstore--1.1--1.2.sql b/contrib/hstore/hstore--1.1--1.2.sql index 99b8a168fa..9c127d4403 100644 --- 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 -- 2.40.0