aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-08-26 00:03:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-08-26 00:03:52 +0000
commitd32b17a5fde4f649103d3d56c69ea4ee1ed92ae7 (patch)
treee5808b32ce41645ec6cb20e374087084686154a1
parent7eb9f613c3fdc33b2ea19177e7e0b210f38f194c (diff)
downloadpostgresql-d32b17a5fde4f649103d3d56c69ea4ee1ed92ae7.tar.gz
postgresql-d32b17a5fde4f649103d3d56c69ea4ee1ed92ae7.zip
Fix pg_dump docs to acknowledge that you can use -Z with plain text output. Pointed out by Daniel Migowski.
-rw-r--r--doc/src/sgml/ref/pg_dump.sgml13
1 files changed, 9 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 06d9c68ae0e..11aa4b963eb 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.65.2.2 2004/10/21 22:49:04 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.65.2.3 2008/08/26 00:03:52 tgl Exp $
PostgreSQL documentation
-->
@@ -468,9 +468,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>