Skip to content

Commit b37422d

Browse files
committed
psql documentation fixes
Update the documentation for \pset to mention columns|linestyle. Author: Дилян Палаузов <dpa-postgres@aegee.org>
1 parent 06efc5c commit b37422d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doc/src/sgml/ref/psql-ref.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2332,8 +2332,9 @@ lo_import 152801
23322332
<tip>
23332333
<para>
23342334
There are various shortcut commands for <command>\pset</command>. See
2335-
<command>\a</command>, <command>\C</command>, <command>\H</command>,
2336-
<command>\t</command>, <command>\T</command>, and <command>\x</command>.
2335+
<command>\a</command>, <command>\C</command>, <command>\f</command>,
2336+
<command>\H</command>, <command>\t</command>, <command>\T</command>,
2337+
and <command>\x</command>.
23372338
</para>
23382339
</tip>
23392340

src/bin/psql/help.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,9 @@ slashUsage(unsigned short int pager)
233233
fprintf(output, _(" \\H toggle HTML output mode (currently %s)\n"),
234234
ON(pset.popt.topt.format == PRINT_HTML));
235235
fprintf(output, _(" \\pset [NAME [VALUE]] set table output option\n"
236-
" (NAME := {format|border|expanded|fieldsep|fieldsep_zero|footer|null|\n"
237-
" numericlocale|recordsep|recordsep_zero|tuples_only|title|tableattr|pager})\n"));
236+
" (NAME := {border|columns|expanded|fieldsep|fieldsep_zero|\n"
237+
" footer|format|linestyle|null|numericlocale|pager|\n"
238+
" recordsep|recordsep_zero|tableattr|title|tuples_only})\n"));
238239
fprintf(output, _(" \\t [on|off] show only rows (currently %s)\n"),
239240
ON(pset.popt.topt.tuples_only));
240241
fprintf(output, _(" \\T [STRING] set HTML <table> tag attributes, or unset if none\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy