Re: psql --help=variables missing csv_fieldsep
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>,
Daniel Verite <daniel@manitou-mail.org>
Date: 2025-11-03T20:53:29Z
Lists: 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
Commits
-
Refer readers of \? to "\? variables" for pset options
- 8fe7700b7eaf 19 (unreleased) landed
-
Have psql's "\? variables" show csv_fieldsep
- e1e79791af1c 17.7 landed
- 9c742c3943c4 13.23 landed
- 93b7ab5b4bee 19 (unreleased) landed
- 886401611879 18.1 landed
- 87fbbd48c2b8 16.11 landed
- 42fa4dba8439 15.15 landed
- 2c56b7069519 14.20 landed
-
Add CSV table output mode in psql.
- aa2ba50c2c13 12.0 cited