1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-15 19:15:29 +03:00

docs: Improve documentation of \pset without arguments.

The syntax summary previously failed to clarify that the first
argument is also optional.  The textual description did mention it,
but all the way at the bottom.  It fits better with the command
overview, so move it there, and fix the summary also.

Back-patch to 9.4 where \pset without arguments was supported.

Dilip Kumar, reviewed by Fabien Coelho
This commit is contained in:
Fujii Masao 2014-09-04 13:48:09 +09:00
parent 42c73ef9b7
commit 643cad1934

View File

@ -1943,7 +1943,7 @@ lo_import 152801
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><literal>\pset <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ]</literal></term> <term><literal>\pset [ <replaceable class="parameter">option</replaceable> [ <replaceable class="parameter">value</replaceable> ] ]</literal></term>
<listitem> <listitem>
<para> <para>
@ -1959,6 +1959,11 @@ lo_import 152801
the current setting being displayed. the current setting being displayed.
</para> </para>
<para>
<command>\pset</command> without any arguments displays the current status
of all printing options.
</para>
<para> <para>
Adjustable printing options are: Adjustable printing options are:
<variablelist> <variablelist>
@ -2298,11 +2303,6 @@ lo_import 152801
</para> </para>
</tip> </tip>
<para>
<command>\pset</command> without any arguments displays the current status
of all printing options.
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>