Have psql's "\? variables" show csv_fieldsep
authorÁlvaro Herrera <alvherre@kurilemu.de>
Tue, 4 Nov 2025 16:30:44 +0000 (17:30 +0100)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Tue, 4 Nov 2025 16:30:44 +0000 (17:30 +0100)
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

index ed00c36695e859cc066cc9d6c14eff3f98e17a1d..9c15cb679fd18657bd50b71c9fad529dbde38db2 100644 (file)
@@ -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 for CSV output format (default \"%c\")\n",
+         DEFAULT_CSV_FIELD_SEP);
    HELP0("  expanded (or x)\n"
          "    expanded output [on, off, auto]\n");
    HELPN("  fieldsep\n"