pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Tweak the default behavior of psql's \dconfig.
Date: Mon, 11 Apr 2022 19:11:52 +0000
Message-ID: <E1ndzS4-00047n-8f@gemulon.postgresql.org> (raw)

Tweak the default behavior of psql's \dconfig.

\dconfig without an argument originally printed all parameters,
but it seems more useful to print only those parameters with
non-default settings.  You can easily get the show-everything
behavior with "\dconfig *", but that output is unwieldy and
seems unlikely to be wanted very often.

Per suggestion from Christoph Berg.

Discussion: https://postgr.es/m/YlFQLzlPi4QD0wSi@msg.df7cb.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e70d8b5d18b0a71528dc6f11ade31a9d10e00cb

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 10 ++++++----
src/bin/psql/describe.c        | 16 +++++++++++-----
2 files changed, 17 insertions(+), 9 deletions(-)



Message-ID: <E1ndzS4-00047n-8f@gemulon.postgresql.org>
Permalink:  ../E1ndzS4-00047n-8f@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ndzS4-00047n-8f@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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Tweak the default behavior of psql's \dconfig.
  In-Reply-To: <E1ndzS4-00047n-8f@gemulon.postgresql.org>
  References: <E1ndzS4-00047n-8f@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