Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1d21ba8

Browse files
committed
psql: Schema-qualify typecast in one \d query
Bug introduced in my commit bc87f22
1 parent e8d5dd6 commit 1d21ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/describe.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2890,7 +2890,7 @@ describeOneTableDetails(const char *schemaname,
28902890
if (pset.sversion >= 110000)
28912891
appendPQExpBuffer(&buf, "(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D') \n"
28922892
" OR EXISTS (SELECT 1 FROM pg_catalog.pg_depend WHERE objid = t.oid \n"
2893-
" AND refclassid = 'pg_catalog.pg_trigger'::regclass))");
2893+
" AND refclassid = 'pg_catalog.pg_trigger'::pg_catalog.regclass))");
28942894
else if (pset.sversion >= 90000)
28952895
/* display/warn about disabled internal triggers */
28962896
appendPQExpBuffer(&buf, "(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D'))");

0 commit comments

Comments
 (0)