From: Magnus Hagander Date: Sun, 26 Jan 2014 17:11:15 +0000 (+0100) Subject: Include tablespace options in verbose output of \db X-Git-Tag: REL9_4_BETA1~617 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cae10ca27e5d478353b9b053073e5f2a1cf97659;p=postgresql Include tablespace options in verbose output of \db --- diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 0d4b151679..43f1a1c12d 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -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");