psql doccumentation issue

Started by Dilip kumaralmost 11 years ago2 messages
#1Dilip kumar
dilip.kumar@huawei.com
1 attachment(s)

There is some minor issue in psql documentations for \setenv
Attached patch is fixing the same.

Actual option
\setenv NAME [VALUE] set or unset environment variable

In document

\setenv [ name [ value ] ] --> name is not optional so it should be like below
\setenv name [ value ]

Regards,
Dilip

Attachments:

psql_doc.patchapplication/octet-stream; name=psql_doc.patchDownload
*** a/doc/src/sgml/ref/psql-ref.sgml
--- b/doc/src/sgml/ref/psql-ref.sgml
***************
*** 2448,2454 **** lo_import 152801
  
  
        <varlistentry>
!         <term><literal>\setenv [ <replaceable class="parameter">name</replaceable> [ <replaceable class="parameter">value</replaceable> ] ]</literal></term>
  
          <listitem>
          <para>
--- 2448,2454 ----
  
  
        <varlistentry>
!         <term><literal>\setenv <replaceable class="parameter">name</replaceable> [ <replaceable class="parameter">value</replaceable> ]</literal></term>
  
          <listitem>
          <para>
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dilip kumar (#1)
Re: psql doccumentation issue

Dilip kumar <dilip.kumar@huawei.com> writes:

There is some minor issue in psql documentations for \setenv
Attached patch is fixing the same.

Actual option
\setenv NAME [VALUE] set or unset environment variable

In document
\setenv [ name [ value ] ] --> name is not optional so it should be like below
\setenv name [ value ]

Good catch, pushed.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers