]> granicus.if.org Git - postgresql/commitdiff
Fix pg_dump docs to acknowledge that you can use -Z with plain text output. Pointed...
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Aug 2008 00:03:24 +0000 (00:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 Aug 2008 00:03:24 +0000 (00:03 +0000)
doc/src/sgml/ref/pg_dump.sgml

index cecc03e7e663525a5564e42cd0d0c0217ab95bf3..c4028db4c4eabcbcdba1c98233716d66eedf2edb 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.98.2.1 2008/08/21 22:26:12 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.98.2.2 2008/08/26 00:03:24 tgl Exp $
 PostgreSQL documentation
 -->
 
@@ -602,9 +602,14 @@ PostgreSQL documentation
       <term><option>--compress=<replaceable class="parameter">0..9</replaceable></option></term>
       <listitem>
        <para>
-        Specify the compression level to use in archive formats that
-        support compression.  (Currently only the custom archive
-        format supports compression.)
+        Specify the compression level to use.  Zero means no compression.
+        For the custom archive format, this specifies compression of
+        individual table-data segments, and the default is to compress
+        at a moderate level.
+        For plain text output, setting a nonzero compression level causes
+        the entire output file to be compressed, as though it had been
+        fed through <application>gzip</>; but the default is not to compress.
+        The tar archive format currently does not support compression at all.
        </para>
       </listitem>
      </varlistentry>