1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-28 05:21:27 +03:00

psql documentation fixes

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

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

View File

@ -2315,8 +2315,9 @@ lo_import 152801
<tip> <tip>
<para> <para>
There are various shortcut commands for <command>\pset</command>. See There are various shortcut commands for <command>\pset</command>. See
<command>\a</command>, <command>\C</command>, <command>\H</command>, <command>\a</command>, <command>\C</command>, <command>\f</command>,
<command>\t</command>, <command>\T</command>, and <command>\x</command>. <command>\H</command>, <command>\t</command>, <command>\T</command>,
and <command>\x</command>.
</para> </para>
</tip> </tip>

View File

@ -248,8 +248,9 @@ slashUsage(unsigned short int pager)
fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"), fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"),
ON(pset.popt.topt.format == PRINT_HTML)); ON(pset.popt.topt.format == PRINT_HTML));
fprintf(output, _(" \\pset NAME [VALUE] set table output option\n" fprintf(output, _(" \\pset NAME [VALUE] set table output option\n"
" (NAME := {format|border|expanded|fieldsep|fieldsep_zero|footer|null|\n" " (NAME := {border|columns|expanded|fieldsep|fieldsep_zero|\n"
" numericlocale|recordsep|recordsep_zero|tuples_only|title|tableattr|pager})\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"), fprintf(output, _(" \\t [on|off] show only rows (currently %s)\n"),
ON(pset.popt.topt.tuples_only)); ON(pset.popt.topt.tuples_only));
fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n")); fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));