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

src/bin/psql/help.c

index 32c7a384bb12378f53186f9bcd747776c1ac6bc1..5dcd5069b34e1004b0e1525457093da6c0e731e3 100644 (file)
@@ -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"