pgsql: Remove environment-variable-based defaults in psql --help - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Remove environment-variable-based defaults in psql --help
Date
Msg-id E1qohaf-000JpL-OZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b4336515b0803b83a4d8f102006986e5863d2c49

Modified Files
--------------
src/bin/psql/help.c | 33 ++++-----------------------------
1 file changed, 4 insertions(+), 29 deletions(-)


pgsql-committers by date:

Previous
From: Etsuro Fujita
Date:
Subject: pgsql: Remove extra parenthesis from comment.
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Fix typos in e0b1ee17dc