Remove environment-variable-based defaults in psql --help
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 6 Oct 2023 08:55:10 +0000 (10:55 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 6 Oct 2023 09:54:36 +0000 (11:54 +0200)
commitb4336515b0803b83a4d8f102006986e5863d2c49
tree5484f23595febe46e418606a925e91545fb2c1e2
parentaec684ff0fb979d0245985fc0f84c07345a29e18
Remove environment-variable-based defaults in psql --help

This seemed inconsistent with the --help output of other tools.
Depending on the values, it can cause ugly formatting.  Also, we're
not getting the defaults from libpq, we're just emulating the methods
libpq uses to derive these values, so they might not be 100% correct.

Author: Atsushi Torikoshi <torikoshia@oss.nttdata.com>
Discussion: https://www.postgresql.org/message-id/flat/50ca8ff35a8dd8f9ec89963b503571a7@oss.nttdata.com
src/bin/psql/help.c