Обсуждение: pgsql: psql: Add support for \dpS and \zS.

Поиск
Список
Период
Сортировка

pgsql: psql: Add support for \dpS and \zS.

От
Dean Rasheed
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d913928c9c5e905d0062d1e7237b7fb5fbde61ed

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 12 ++++++++----
src/bin/psql/command.c         | 23 +++++++++++++++--------
src/bin/psql/describe.c        | 14 ++++++--------
src/bin/psql/describe.h        |  2 +-
4 files changed, 30 insertions(+), 21 deletions(-)