pgsql: Remove environment-variable-based defaults in psql --help

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove environment-variable-based defaults in psql --help
Date: 2023-10-06 09:57:50
Message-ID: E1qohaf-000JpL-OZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)oss(dot)nttdata(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/50ca8ff35a8dd8f9ec89963b503571a7(at)oss(dot)nttdata(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2023-10-07 08:56:28 pgsql: Fix typos in e0b1ee17dc
Previous Message Etsuro Fujita 2023-10-06 09:43:10 pgsql: Remove extra parenthesis from comment.