提交 2d12ee3f 编写于 作者: B Bruce Momjian

Update psql \? for \w.

上级 c7dea3a6
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -943,7 +943,7 @@ testdb=> ...@@ -943,7 +943,7 @@ testdb=>
<term><literal>\w</literal> <replaceable class="parameter">filename</replaceable></term> <term><literal>\w</literal> <replaceable class="parameter">filename</replaceable></term>
<listitem> <listitem>
<para> <para>
Outputs the current query buffer to the file Write the current query buffer to the file
<replaceable class="parameter">filename</replaceable>. <replaceable class="parameter">filename</replaceable>.
</para> </para>
</listitem> </listitem>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -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 -- 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, " \\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, " \\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, " \\z -- list current grant/revoke permissions\n");
fprintf(fout, " \\! [<cmd>] -- shell escape or command\n"); fprintf(fout, " \\! [<cmd>] -- shell escape or command\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册