diff options
author | Dean Rasheed | 2023-01-07 11:09:26 +0000 |
---|---|---|
committer | Dean Rasheed | 2023-01-07 11:09:26 +0000 |
commit | d913928c9c5e905d0062d1e7237b7fb5fbde61ed (patch) | |
tree | 1936179c312e92dd4c97854bfad1565bcb5b1b3e /src/bin/psql/describe.h | |
parent | 2b6df05461cb540d8f103dfe55f38efc09b4189b (diff) |
psql: Add support for \dpS and \zS.
This allows an optional "S" modifier to be added to \dp and \z, to
have them include system objects in the list.
Note that this also changes the behaviour of a bare \dp or \z without
the "S" modifier to include temp objects in the list, and exclude
information_schema objects, making them consistent with other psql
meta-commands.
Nathan Bossart, reviewed by Maxim Orlov.
Discussion: https://postgr.es/m/20221206193606.GB3078082@nathanxps13
Diffstat (limited to 'src/bin/psql/describe.h')
-rw-r--r-- | src/bin/psql/describe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/describe.h b/src/bin/psql/describe.h index 15f62b91d1a..554fe867255 100644 --- a/src/bin/psql/describe.h +++ b/src/bin/psql/describe.h @@ -38,7 +38,7 @@ extern bool describeRoles(const char *pattern, bool verbose, bool showSystem); extern bool listDbRoleSettings(const char *pattern, const char *pattern2); /* \z (or \dp) */ -extern bool permissionsList(const char *pattern); +extern bool permissionsList(const char *pattern, bool showSystem); /* \ddp */ extern bool listDefaultACLs(const char *pattern); |