Include tablespace options in verbose output of \db

This commit is contained in:
Magnus Hagander 2014-01-26 18:11:15 +01:00
parent cec8394b5c
commit cae10ca27e

View File

@ -176,6 +176,11 @@ describeTablespaces(const char *pattern, bool verbose)
",\n pg_catalog.shobj_description(oid, 'pg_tablespace') AS \"%s\"",
gettext_noop("Description"));
if (verbose && pset.sversion >= 90000)
appendPQExpBuffer(&buf,
",\n spcoptions AS \"%s\"",
gettext_noop("Options"));
appendPQExpBufferStr(&buf,
"\nFROM pg_catalog.pg_tablespace\n");