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)
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