mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Include tablespace options in verbose output of \db
This commit is contained in:
parent
cec8394b5c
commit
cae10ca27e
@ -176,6 +176,11 @@ describeTablespaces(const char *pattern, bool verbose)
|
|||||||
",\n pg_catalog.shobj_description(oid, 'pg_tablespace') AS \"%s\"",
|
",\n pg_catalog.shobj_description(oid, 'pg_tablespace') AS \"%s\"",
|
||||||
gettext_noop("Description"));
|
gettext_noop("Description"));
|
||||||
|
|
||||||
|
if (verbose && pset.sversion >= 90000)
|
||||||
|
appendPQExpBuffer(&buf,
|
||||||
|
",\n spcoptions AS \"%s\"",
|
||||||
|
gettext_noop("Options"));
|
||||||
|
|
||||||
appendPQExpBufferStr(&buf,
|
appendPQExpBufferStr(&buf,
|
||||||
"\nFROM pg_catalog.pg_tablespace\n");
|
"\nFROM pg_catalog.pg_tablespace\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user