Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

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