Document disabling the statistics collector pg_dump activity, and give a
authorBruce Momjian <[email protected]>
Sat, 7 Feb 2009 14:31:30 +0000 (14:31 +0000)
committerBruce Momjian <[email protected]>
Sat, 7 Feb 2009 14:31:30 +0000 (14:31 +0000)
bit more visibility to the PGOPTIONS environment variable supported by
libpq.

Bryce Nesbitt

doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
doc/src/sgml/ref/pg_restore.sgml

index 9c8563018f9943bf284dd80d5042169c41c3f809..7714cf271b73a234e6a21d346664a6175a4b1208 100644 (file)
@@ -726,14 +726,16 @@ PostgreSQL documentation
    <varlistentry>
     <term><envar>PGDATABASE</envar></term>
     <term><envar>PGHOST</envar></term>
+    <term><envar>PGOPTIONS</envar></term>
     <term><envar>PGPORT</envar></term>
-    <term><envar>PGUSER</envar></term>
 
+    <term><envar>PGUSER</envar></term>
     <listitem>
      <para>
       Default connection parameters.
      </para>
     </listitem>
+
    </varlistentry>
   </variablelist>
 
@@ -757,6 +759,13 @@ PostgreSQL documentation
    variables used by the <application>libpq</application> front-end
    library will apply.
   </para>
+  <para>
+   The database activity of <application>pg_dump</application> is normally collected by the statistics collector.
+   If this is undesirable, you can set parameters <literal>stats_block_level</literal> and <literal>stats_row_level</literal> to false
+   via the <application>libpq</> <envar>PGOPTIONS</envar> environment variable, or via <literal>ALTER USER</literal>.
+  </para>
+
+
  </refsect1>
 
 
index 818c79efb3b7e59e4e24c2e88704c99813e4dba3..ea7a541bc8fefcd9491210801679c8ce5a2701d4 100644 (file)
@@ -445,6 +445,7 @@ PostgreSQL documentation
   <variablelist>
    <varlistentry>
     <term><envar>PGHOST</envar></term>
+    <term><envar>PGOPTIONS</envar></term>
     <term><envar>PGPORT</envar></term>
     <term><envar>PGUSER</envar></term>
 
index 4fc17fcaad1c46ef99efda71aa65fc1c4ed3991d..90c70a415f9532737354e99b2004a327f5c83530 100644 (file)
   <variablelist>
    <varlistentry>
     <term><envar>PGHOST</envar></term>
+    <term><envar>PGOPTIONS</envar></term>
     <term><envar>PGPORT</envar></term>
     <term><envar>PGUSER</envar></term>