Skip to content

Commit 2d12ee3

Browse files
committed
Update psql \? for \w.
1 parent c7dea3a commit 2d12ee3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.11 1999/07/30 00:59:50 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.12 1999/10/14 01:28:41 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -943,7 +943,7 @@ testdb=>
943943
<term><literal>\w</literal> <replaceable class="parameter">filename</replaceable></term>
944944
<listitem>
945945
<para>
946-
Outputs the current query buffer to the file
946+
Write the current query buffer to the file
947947
<replaceable class="parameter">filename</replaceable>.
948948
</para>
949949
</listitem>

src/bin/psql/psql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.189 1999/09/06 23:30:53 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.190 1999/10/14 01:28:42 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -301,7 +301,7 @@ slashUsage(PsqlSettings *pset)
301301
fprintf(fout, " \\t -- toggle table headings and row count (currently %s)\n", on(pset->opt.header));
302302
fprintf(fout, " \\T [<html>] -- set html3.0 <table ...> options (currently '%s')\n", pset->opt.tableOpt ? pset->opt.tableOpt : "");
303303
fprintf(fout, " \\x -- toggle expanded output (currently %s)\n", on(pset->opt.expanded));
304-
fprintf(fout, " \\w <fname> -- output current buffer to a file\n");
304+
fprintf(fout, " \\w <fname> -- write current buffer to a file\n");
305305
fprintf(fout, " \\z -- list current grant/revoke permissions\n");
306306
fprintf(fout, " \\! [<cmd>] -- shell escape or command\n");
307307

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