mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Update psql \? for \w.
This commit is contained in:
parent
c7dea3a6b7
commit
2d12ee3f71
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.11 1999/07/30 00:59:50 momjian Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.12 1999/10/14 01:28:41 momjian Exp $
|
||||
Postgres documentation
|
||||
-->
|
||||
|
||||
@ -943,7 +943,7 @@ testdb=>
|
||||
<term><literal>\w</literal> <replaceable class="parameter">filename</replaceable></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Outputs the current query buffer to the file
|
||||
Write the current query buffer to the file
|
||||
<replaceable class="parameter">filename</replaceable>.
|
||||
</para>
|
||||
</listitem>
|
||||
|
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.189 1999/09/06 23:30:53 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.190 1999/10/14 01:28:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -301,7 +301,7 @@ slashUsage(PsqlSettings *pset)
|
||||
fprintf(fout, " \\t -- toggle table headings and row count (currently %s)\n", on(pset->opt.header));
|
||||
fprintf(fout, " \\T [<html>] -- set html3.0 <table ...> options (currently '%s')\n", pset->opt.tableOpt ? pset->opt.tableOpt : "");
|
||||
fprintf(fout, " \\x -- toggle expanded output (currently %s)\n", on(pset->opt.expanded));
|
||||
fprintf(fout, " \\w <fname> -- output current buffer to a file\n");
|
||||
fprintf(fout, " \\w <fname> -- write current buffer to a file\n");
|
||||
fprintf(fout, " \\z -- list current grant/revoke permissions\n");
|
||||
fprintf(fout, " \\! [<cmd>] -- shell escape or command\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user