Marginal improvements to the documentation for PGOPTIONS.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Jun 2008 16:23:08 +0000 (16:23 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 1 Jun 2008 16:23:08 +0000 (16:23 +0000)
doc/src/sgml/libpq.sgml
doc/src/sgml/ref/psql-ref.sgml

index 921e0629cc0a4190e6bc407d854b846d01a2caab..a0521505201102063b7523d2a1f54269c4ff0a45 100644 (file)
@@ -4838,8 +4838,12 @@ defaultNoticeProcessor(void *arg, const char *message)
       <indexterm>
        <primary><envar>PGOPTIONS</envar></primary>
       </indexterm>
-      <envar>PGOPTIONS</envar> sets additional run-time  options  for the
-      <productname>PostgreSQL</productname> server.
+      <envar>PGOPTIONS</envar> sets additional run-time options for the
+      <productname>PostgreSQL</productname> server.  For example, setting
+      <envar>PGOPTIONS</envar> to <literal>-c geqo=off</> sets the session's
+      value of the <varname>geqo</> parameter to <literal>off</>.
+      For a detailed discussion of the available options consult <xref
+      linkend="runtime-config">.
      </para>
     </listitem>
 
index b45f8a88393d78f5f2a44271597e1c3f0c59037a..52b6c0b09d3f30de019c4934ef0624b268fff718 100644 (file)
@@ -2754,22 +2754,13 @@ $endif
 
    <varlistentry>
     <term><envar>PGDATABASE</envar></term>
-
-    <listitem>
-     <para>
-      Default connection database
-     </para>
-    </listitem>
-   </varlistentry>
-
-   <varlistentry>
     <term><envar>PGHOST</envar></term>
     <term><envar>PGPORT</envar></term>
     <term><envar>PGUSER</envar></term>
 
     <listitem>
      <para>
-      Default connection parameters
+      Default connection parameters (see <xref linkend="libpq-envars">).
      </para>
     </listitem>
    </varlistentry>