psql: Add support for \dpS and \zS.

Dean Rasheed <dean.a.rasheed@gmail.com>

Commit: d913928c9c5e905d0062d1e7237b7fb5fbde61ed
Author: Dean Rasheed <dean.a.rasheed@gmail.com>
Date: 2023-01-07T11:09:26Z
Releases: 16.0
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

Files

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +8 −4
src/bin/psql/command.c modified +15 −8
src/bin/psql/describe.c modified +6 −8
src/bin/psql/describe.h modified +1 −1

Documentation touched

Discussion