Re: psql --help=variables missing csv_fieldsep - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql --help=variables missing csv_fieldsep
Date
Msg-id 374722.1762203209@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql --help=variables missing csv_fieldsep  (Álvaro Herrera <alvherre@kurilemu.de>)
List pgsql-hackers
=?utf-8?Q?=C3=81lvaro?= Herrera <alvherre@kurilemu.de> writes:
> On 2025-Nov-03, Tom Lane wrote:
>> But wait ... is it actually a variable?  help.c does list it, but
>> as a \pset option:

> Yeah, there are two lists: one here in the "\?" output, and another in
> the "\? variables" output, which is also `psql --help=variables`.  It
> lists actual variables but also \pset options and environment variables
> psql recognizes.

Huh.  I would not have called \pset options variables, but I guess
somebody thought it made sense.

> I find this one you quote somewhat unreadable, so I
> was going to propose to remove it, and instead direct the user to look
> at "\?  variables" for the exhaustive list.  That one is also a bit
> easier to cross-check, I think.  (There's also tab-complete.)

Agreed that the set of \pset options has bloated to the point where
that presentation is unreadable.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Mihail Nikalayeu
Date:
Subject: Re: Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY
Next
From: Alexander Korotkov
Date:
Subject: Re: Resetting recovery target parameters in pg_createsubscriber