postgres.git / summary / log / commit / refs
commit 8f7d044ba842ab3359a8a3190ff2f3aa1de2a6bb
Author: Bruce Momjian <bruce@momjian.us>
Date: Mon Aug 31 16:24:16 2015 +0000
First released in: 9.6.0, 9.3.10, 9.4.5, 9.5.0
psql: print longtable as a possible \pset option
For some reason this message was not updated when the longtable option
was added.
Backpatch through 9.3
src/bin/psql/command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 6181a616785..a02ef631e80 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -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;
}
[parent: 93370076c407]