1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-25 01:02:05 +03:00

psql documentation fixes

Update the documentation for \pset to mention
columns|linestyle|pager_min_lines.

Author: Дилян Палаузов <dpa-postgres@aegee.org>
This commit is contained in:
Peter Eisentraut
2018-01-29 14:04:32 -05:00
parent e194f13838
commit 697ee73596
2 changed files with 8 additions and 5 deletions

View File

@ -2397,8 +2397,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>

View File

@ -249,9 +249,11 @@ 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"
" unicode_border_linestyle|unicode_column_linestyle|unicode_header_linestyle})\n"));
" (NAME := {border|columns|expanded|fieldsep|fieldsep_zero|\n"
" footer|format|linestyle|null|numericlocale|pager|\n"
" pager_min_lines|recordsep|recordsep_zero|tableattr|title|\n"
" tuples_only|unicode_border_linestyle|\n"
" unicode_column_linestyle|unicode_header_linestyle})\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"));