pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Add support for \dpS and \zS.
Date: Sat, 07 Jan 2023 11:11:07 +0000
Message-ID: <E1pE76R-002TRd-G6@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1pE76R-002TRd-G6@gemulon.postgresql.org>
Permalink:  ../E1pE76R-002TRd-G6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pE76R-002TRd-G6@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dean.a.rasheed@gmail.com
  Subject: Re: pgsql: psql: Add support for \dpS and \zS.
  In-Reply-To: <E1pE76R-002TRd-G6@gemulon.postgresql.org>
  References: <E1pE76R-002TRd-G6@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox