pgsql: Tweak the default behavior of psql's \dconfig. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Tweak the default behavior of psql's \dconfig.
Date
Msg-id E1ndzS4-00047n-8f@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Explicitly ignore guaranteed-true result from pgstat_lock_entry(
Next
From: Tom Lane
Date:
Subject: pgsql: Remove dead code in do_pg_backup_start().