postgres.git / summary / log / commit / refs
commit b37422de89e569a474509cd26ec49e27866d01e8
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Mon Jan 29 19:04:32 2018 +0000
First released in: 9.3.21, 9.4.16, 9.5.11, 9.6.7
psql documentation fixes
Update the documentation for \pset to mention
columns|linestyle.
Author: Дилян Палаузов <dpa-postgres@aegee.org>
doc/src/sgml/ref/psql-ref.sgml | 5 +++--
src/bin/psql/help.c | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 4449041dcc6..84a29e740bf 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -2332,8 +2332,9 @@ lo_import 152801
<tip>
<para>
There are various shortcut commands for <command>\pset</command>. See
- <command>\a</command>, <command>\C</command>, <command>\H</command>,
- <command>\t</command>, <command>\T</command>, and <command>\x</command>.
+ <command>\a</command>, <command>\C</command>, <command>\f</command>,
+ <command>\H</command>, <command>\t</command>, <command>\T</command>,
+ and <command>\x</command>.
</para>
</tip>
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index d7267361da5..e0dbd624260 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -233,8 +233,9 @@ slashUsage(unsigned short int pager)
fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"),
ON(pset.popt.topt.format == PRINT_HTML));
fprintf(output, _(" \\pset [NAME [VALUE]] set table output option\n"
- " (NAME := {format|border|expanded|fieldsep|fieldsep_zero|footer|null|\n"
- " numericlocale|recordsep|recordsep_zero|tuples_only|title|tableattr|pager})\n"));
+ " (NAME := {border|columns|expanded|fieldsep|fieldsep_zero|\n"
+ " footer|format|linestyle|null|numericlocale|pager|\n"
+ " recordsep|recordsep_zero|tableattr|title|tuples_only})\n"));
fprintf(output, _(" \\t [on|off] show only rows (currently %s)\n"),
ON(pset.popt.topt.tuples_only));
fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));
[parent: 06efc5cf53b9]