]> granicus.if.org Git - postgresql/commitdiff
Doc: fix syntax description for psql's \setenv.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Feb 2015 05:18:54 +0000 (00:18 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Feb 2015 05:18:54 +0000 (00:18 -0500)
The variable name isn't optional --- looks like a copy-and-paste-o from
the \set command, where it is.

Dilip Kumar

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

index b92a1ea02b34dd1d6e6c417aa530b8c876621bfa..a6370014987d5d69f4cfda862b93cd182d705c15 100644 (file)
@@ -2448,7 +2448,7 @@ lo_import 152801
 
 
       <varlistentry>
-        <term><literal>\setenv [ <replaceable class="parameter">name</replaceable> [ <replaceable class="parameter">value</replaceable> ] ]</literal></term>
+        <term><literal>\setenv <replaceable class="parameter">name</replaceable> [ <replaceable class="parameter">value</replaceable> ]</literal></term>
 
         <listitem>
         <para>