mirror of
https://github.com/postgres/postgres.git
synced 2026-04-20 22:00:13 -04:00
psql \dP: reference regclass with "pg_catalog." prefix
Strictly speaking this isn't a bug, but since all references to catalog
objects are schema-qualified, we might as well be consistent. The
omission first appeared in commit 1c5d9270e3, so backpatch to 12.
Author: Justin Pryzby <pryzbyj@telsasoft.com>
Discussion: https://postgr.es/m/20210827193151.GN26465@telsasoft.com
This commit is contained in:
parent
97ddda8a82
commit
fc40ba1296
1 changed files with 2 additions and 2 deletions
|
|
@ -4275,12 +4275,12 @@ listPartitionedTables(const char *reltypes, const char *pattern, bool verbose)
|
||||||
|
|
||||||
if (showNested || pattern)
|
if (showNested || pattern)
|
||||||
appendPQExpBuffer(&buf,
|
appendPQExpBuffer(&buf,
|
||||||
",\n inh.inhparent::regclass as \"%s\"",
|
",\n inh.inhparent::pg_catalog.regclass as \"%s\"",
|
||||||
gettext_noop("Parent name"));
|
gettext_noop("Parent name"));
|
||||||
|
|
||||||
if (showIndexes)
|
if (showIndexes)
|
||||||
appendPQExpBuffer(&buf,
|
appendPQExpBuffer(&buf,
|
||||||
",\n c2.oid::regclass as \"%s\"",
|
",\n c2.oid::pg_catalog.regclass as \"%s\"",
|
||||||
gettext_noop("Table"));
|
gettext_noop("Table"));
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue