psql: print longtable as a possible \pset option
authorBruce Momjian <[email protected]>
Mon, 31 Aug 2015 16:24:16 +0000 (12:24 -0400)
committerBruce Momjian <[email protected]>
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 6181a6167857b55e99ca4779768a86654d4984a8..a02ef631e801dbaabea21a69ccf1991586f25033 100644 (file)
@@ -2486,7 +2486,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, asciidoc, latex, troff-ms\n");
+                       psql_error("\\pset: allowed formats are unaligned, aligned, wrapped, html, asciidoc, latex, latex-longtable, troff-ms\n");
                        return false;
                }