From 2c452061b1e1388a7127fb7fd407c949aa6bec20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=81lvaro=20Herrera?= <alvherre@kurilemu.de>
Date: Mon, 3 Nov 2025 18:37:29 +0100
Subject: [PATCH] Have psql's "\? variables" show csv_fieldsep

The omission is unexplained.
---
 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 6ae1a9940de..b635aa7dc57 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -480,6 +480,9 @@ helpVariables(unsigned short int pager)
 		  "    border style (number)\n");
 	HELP0("  columns\n"
 		  "    target width for the wrapped format\n");
+	HELPN("  csv_fieldsep\n"
+		  "    field separator to be used in CSV output format (default \"%c\")\n",
+		  DEFAULT_CSV_FIELD_SEP);
 	HELP0("  display_false\n"
 		  "    set the string to be printed in place of a boolean 'false'\n");
 	HELP0("  display_true\n"
-- 
2.47.3

