Content-Length: 261267 | pFad | http://github.com/postgrespro/postgres/commit/a6f3c1f1e2c365dd7dee1e944389d62bf62aa22e

E1 Show owner of types in psql \dT+ · postgrespro/postgres@a6f3c1f · GitHub
Skip to content

Commit a6f3c1f

Browse files
committed
Show owner of types in psql \dT+
1 parent 5d79b67 commit a6f3c1f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/bin/psql/describe.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,12 @@ describeTypes(const char *pattern, bool verbose, bool showSystem)
528528
" ) AS \"%s\",\n",
529529
gettext_noop("Elements"));
530530
}
531+
if (verbose)
532+
{
533+
appendPQExpBuffer(&buf,
534+
" pg_catalog.pg_get_userbyid(t.typowner) AS \"%s\",\n",
535+
gettext_noop("Owner"));
536+
}
531537
if (verbose && pset.sversion >= 90200)
532538
{
533539
printACLColumn(&buf, "t.typacl");

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: http://github.com/postgrespro/postgres/commit/a6f3c1f1e2c365dd7dee1e944389d62bf62aa22e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy