Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2d12ee3

Browse files
committed
Update psql \? for \w.
1 parentc7dea3a commit2d12ee3

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)

[8]ページ先頭

©2009-2025 Movatter.jp