psql: print longtable as a possible \pset option
authorBruce Momjian
Mon, 31 Aug 2015 16:24:16 +0000 (12:24 -0400)
committerBruce Momjian
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 1f377cb7031ee6fd2889042d934c1bee4a358359..6a8d04883838c1acb4c3dfb9225ed4e9471d507f 100644 (file)
@@ -2324,7 +2324,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;
        }