Content-Length: 269837 | pFad | https://github.com/postgrespro/postgres/commit/fc40ba1296a7d4aee7bd975be9925c74c8073dfe

5F psql \dP: reference regclass with "pg_catalog." prefix · postgrespro/postgres@fc40ba1 · GitHub
Skip to content

Commit fc40ba1

Browse files
committed
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 1c5d927, so backpatch to 12. Author: Justin Pryzby <pryzbyj@telsasoft.com> Discussion: https://postgr.es/m/20210827193151.GN26465@telsasoft.com
1 parent 97ddda8 commit fc40ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/describe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4275,12 +4275,12 @@ listPartitionedTables(const char *reltypes, const char *pattern, bool verbose)
42754275

42764276
if (showNested || pattern)
42774277
appendPQExpBuffer(&buf,
4278-
",\n inh.inhparent::regclass as \"%s\"",
4278+
",\n inh.inhparent::pg_catalog.regclass as \"%s\"",
42794279
gettext_noop("Parent name"));
42804280

42814281
if (showIndexes)
42824282
appendPQExpBuffer(&buf,
4283-
",\n c2.oid::regclass as \"%s\"",
4283+
",\n c2.oid::pg_catalog.regclass as \"%s\"",
42844284
gettext_noop("Table"));
42854285

42864286
if (verbose)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/fc40ba1296a7d4aee7bd975be9925c74c8073dfe

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy