postgres.git / summary / log / commit / refs
commit ce6e50aebe5d0874d64767b8963b162fdc186fa7
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 1f377cb7031..6a8d0488383 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -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;
}
[parent: 12da677179c3]