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

Lines changed: 1 addition & 1 deletion
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)
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