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

Commit e46072d

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/describe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2779,7 +2779,7 @@ describeOneTableDetails(const char *schemaname,
27792779
if (pset.sversion >= 110000)
27802780
appendPQExpBuffer(&buf, "(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D') \n"
27812781
" OR EXISTS (SELECT 1 FROM pg_catalog.pg_depend WHERE objid = t.oid \n"
2782-
" AND refclassid = 'pg_catalog.pg_trigger'::regclass))");
2782+
" AND refclassid = 'pg_catalog.pg_trigger'::pg_catalog.regclass))");
27832783
else if (pset.sversion >= 90000)
27842784
/* display/warn about disabled internal triggers */
27852785
appendPQExpBuffer(&buf, "(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D'))");

0 commit comments

Comments
 (0)