]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
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 732e449e7beb4897665e46267c759d374f00cbde..2a03c75706fcc81d6b709aa394c392df2ad3c0f0 100644 (file)
@@ -439,6 +439,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"