From 2c56b7069519126b64cf0e55747133c3df3079ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Herrera?= Date: Tue, 4 Nov 2025 17:30:44 +0100 Subject: [PATCH] Have psql's "\? variables" show csv_fieldsep Accidental omission in commit aa2ba50c2c13. There are too many lists of these variables ... Discussion: https://postgr.es/m/202511031738.eqaeaedpx5cr@alvherre.pgsql --- src/bin/psql/help.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 32c7a384bb1..5dcd5069b34 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -441,6 +441,9 @@ helpVariables(unsigned short int pager) " border style (number)\n")); fprintf(output, _(" columns\n" " target width for the wrapped format\n")); + fprintf(output, _(" csv_fieldsep\n" + " field separator for CSV output format (default \"%c\")\n"), + DEFAULT_CSV_FIELD_SEP); fprintf(output, _(" expanded (or x)\n" " expanded output [on, off, auto]\n")); fprintf(output, _(" fieldsep\n" -- 2.47.3