Tweak the default behavior of psql's \dconfig.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 5e70d8b5d18b0a71528dc6f11ade31a9d10e00cb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-04-11T19:11:46Z
Releases: 15.0
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

Files

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +6 −4
src/bin/psql/describe.c modified +11 −5

Documentation touched

Discussion