Further tweak the default behavior of psql's \dconfig.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Apr 2022 19:03:58 +0000 (15:03 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 13 Apr 2022 19:03:58 +0000 (15:03 -0400)
commit139d46ee26a2c7813d02739d35fa305890643ac1
tree19d791950497c4e8b52ded0eab0e72bb0e053be8
parent7b7ed046cb2ad9f6efac90380757d5977f0f563f
Further tweak the default behavior of psql's \dconfig.

Define "parameters with non-default settings" as being those that
not only have pg_settings.source different from 'default', but
also have a current value different from the hard-wired boot_val.
Adding the latter restriction removes a number of not-very-interesting
cases where the active setting is chosen by initdb but in practice
tends to be the same all the time.

Per discussion with Jonathan Katz.

Discussion: https://postgr.es/m/YlFQLzlPi4QD0wSi@msg.df7cb.de
src/bin/psql/describe.c