psql: print longtable as a possible \pset option
authorBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2015 16:24:16 +0000 (12:24 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 31 Aug 2015 16:24:16 +0000 (12:24 -0400)
For some reason this message was not updated when the longtable option
was added.

Backpatch through 9.3

src/bin/psql/command.c

index b65584312256653922a0e521ee9de70ca5c5b300..83002f53bc01bfdd6a9c73b301c48ce1f43fdbaf 100644 (file)
@@ -2289,7 +2289,7 @@ do_pset(const char *param, const char *value, printQueryOpt *popt, bool quiet)
            popt->topt.format = PRINT_TROFF_MS;
        else
        {
-           psql_error("\\pset: allowed formats are unaligned, aligned, wrapped, html, latex, troff-ms\n");
+           psql_error("\\pset: allowed formats are unaligned, aligned, wrapped, html, latex, latex-longtable, troff-ms\n");
            return false;
        }