mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Show owner of types in psql \dT+
This commit is contained in:
@@ -528,6 +528,12 @@ describeTypes(const char *pattern, bool verbose, bool showSystem)
|
|||||||
" ) AS \"%s\",\n",
|
" ) AS \"%s\",\n",
|
||||||
gettext_noop("Elements"));
|
gettext_noop("Elements"));
|
||||||
}
|
}
|
||||||
|
if (verbose)
|
||||||
|
{
|
||||||
|
appendPQExpBuffer(&buf,
|
||||||
|
" pg_catalog.pg_get_userbyid(t.typowner) AS \"%s\",\n",
|
||||||
|
gettext_noop("Owner"));
|
||||||
|
}
|
||||||
if (verbose && pset.sversion >= 90200)
|
if (verbose && pset.sversion >= 90200)
|
||||||
{
|
{
|
||||||
printACLColumn(&buf, "t.typacl");
|
printACLColumn(&buf, "t.typacl");
|
||||||
|
Reference in New Issue
Block a user