mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-31 12:07:23 +02:00
psql: Schema-qualify typecast in one \d query
Bug introduced in my commit bc87f22ef6
This commit is contained in:
parent
24df8662e4
commit
e46072dc39
@ -2779,7 +2779,7 @@ describeOneTableDetails(const char *schemaname,
|
||||
if (pset.sversion >= 110000)
|
||||
appendPQExpBuffer(&buf, "(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D') \n"
|
||||
" OR EXISTS (SELECT 1 FROM pg_catalog.pg_depend WHERE objid = t.oid \n"
|
||||
" AND refclassid = 'pg_catalog.pg_trigger'::regclass))");
|
||||
" AND refclassid = 'pg_catalog.pg_trigger'::pg_catalog.regclass))");
|
||||
else if (pset.sversion >= 90000)
|
||||
/* display/warn about disabled internal triggers */
|
||||
appendPQExpBuffer(&buf, "(NOT t.tgisinternal OR (t.tgisinternal AND t.tgenabled = 'D'))");
|
||||
|
Loading…
Reference in New Issue
Block a user