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 467e34b1ffcd84a07f3b27a9437cb9b409a02c5c..c60a76c519e3db4b2535b32536ba5e4058f886d7 100644 (file)
@@ -2374,7 +2374,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;
        }