aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-08-26 00:03:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-08-26 00:03:24 +0000
commitbc846323d3b83e992086702902548bdd71cfa4ee (patch)
tree289187dd9610f9253a719205ef126501ba896a9b
parent0ab43c96781f37a72ae4e1e897d1e10f56c484d2 (diff)
downloadpostgresql-bc846323d3b83e992086702902548bdd71cfa4ee.tar.gz
postgresql-bc846323d3b83e992086702902548bdd71cfa4ee.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 cecc03e7e66..c4028db4c4e 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -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>