Skip to content

Commit cae10ca

Browse files
committed
Include tablespace options in verbose output of \db
1 parent cec8394 commit cae10ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bin/psql/describe.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,11 @@ describeTablespaces(const char *pattern, bool verbose)
176176
",\n pg_catalog.shobj_description(oid, 'pg_tablespace') AS \"%s\"",
177177
gettext_noop("Description"));
178178

179+
if (verbose && pset.sversion >= 90000)
180+
appendPQExpBuffer(&buf,
181+
",\n spcoptions AS \"%s\"",
182+
gettext_noop("Options"));
183+
179184
appendPQExpBufferStr(&buf,
180185
"\nFROM pg_catalog.pg_tablespace\n");
181186

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy