If your program constructs a configuration from one or more configuration files and maybe also built-in defaults, command line options, environment variables, or anything else, it is a good idea for the program to have a way to dump the actual, combined, configuration so that the user can see what it actually is.
This beats reading documentation and deducing what things should be. It helps with debugging configuration mistakes of all kinds.
Trust, but verify, sort of.
reshared this
Csepp 🌢
in reply to Lars Wirzenius • • •Ben Zanin
in reply to Lars Wirzenius • • •Cassandrich
in reply to Lars Wirzenius • • •Lars Wirzenius reshared this.
Elena ``of Valhalla''
in reply to Lars Wirzenius • •ilmari
in reply to Lars Wirzenius • • •pg_settingsview is an excellent example of this.54.24. pg_settings
PostgreSQL Documentation