Tweak the default behavior of psql's \dconfig.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2022 19:11:46 +0000 (15:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 11 Apr 2022 19:11:46 +0000 (15:11 -0400)
commit5e70d8b5d18b0a71528dc6f11ade31a9d10e00cb
tree04efa0db49e5d4030d0983a4e6eda8dc8d160457
parent3c702b3ed1519624d50e7a42283b8d481a579f77
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
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/describe.c