Commit d54ae17b authored by Bruce Momjian's avatar Bruce Momjian

Document disabling the statistics collector pg_dump activity, and give a

bit more visibility to the PGOPTIONS environment variable supported by
libpq.

Bryce Nesbitt
parent 65b731bd
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.106 2009/01/05 16:54:36 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.107 2009/02/07 14:31:30 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -726,14 +726,16 @@ PostgreSQL documentation ...@@ -726,14 +726,16 @@ PostgreSQL documentation
<varlistentry> <varlistentry>
<term><envar>PGDATABASE</envar></term> <term><envar>PGDATABASE</envar></term>
<term><envar>PGHOST</envar></term> <term><envar>PGHOST</envar></term>
<term><envar>PGOPTIONS</envar></term>
<term><envar>PGPORT</envar></term> <term><envar>PGPORT</envar></term>
<term><envar>PGUSER</envar></term>
<term><envar>PGUSER</envar></term>
<listitem> <listitem>
<para> <para>
Default connection parameters. Default connection parameters.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
...@@ -757,6 +759,13 @@ PostgreSQL documentation ...@@ -757,6 +759,13 @@ PostgreSQL documentation
variables used by the <application>libpq</application> front-end variables used by the <application>libpq</application> front-end
library will apply. library will apply.
</para> </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> </refsect1>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.74 2009/01/05 16:54:36 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.75 2009/02/07 14:31:30 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -445,6 +445,7 @@ PostgreSQL documentation ...@@ -445,6 +445,7 @@ PostgreSQL documentation
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><envar>PGHOST</envar></term> <term><envar>PGHOST</envar></term>
<term><envar>PGOPTIONS</envar></term>
<term><envar>PGPORT</envar></term> <term><envar>PGPORT</envar></term>
<term><envar>PGUSER</envar></term> <term><envar>PGUSER</envar></term>
......
<!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.78 2009/02/02 20:07:36 adunstan Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/ref/pg_restore.sgml,v 1.79 2009/02/07 14:31:30 momjian Exp $ -->
<refentry id="APP-PGRESTORE"> <refentry id="APP-PGRESTORE">
<refmeta> <refmeta>
...@@ -559,6 +559,7 @@ ...@@ -559,6 +559,7 @@
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><envar>PGHOST</envar></term> <term><envar>PGHOST</envar></term>
<term><envar>PGOPTIONS</envar></term>
<term><envar>PGPORT</envar></term> <term><envar>PGPORT</envar></term>
<term><envar>PGUSER</envar></term> <term><envar>PGUSER</envar></term>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment