aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/pg_basebackup.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/ref/pg_basebackup.sgml')
-rw-r--r--doc/src/sgml/ref/pg_basebackup.sgml27
1 files changed, 15 insertions, 12 deletions
diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml
index 7a1b432eba3..53aa40dcd19 100644
--- a/doc/src/sgml/ref/pg_basebackup.sgml
+++ b/doc/src/sgml/ref/pg_basebackup.sgml
@@ -417,18 +417,14 @@ PostgreSQL documentation
specify <literal>-Xfetch</literal>.
</para>
<para>
- The compression method can be set to <literal>gzip</literal> for
- compression with <application>gzip</application>, or
- <literal>lz4</literal> for compression with
- <application>lz4</application>, or <literal>none</literal> for no
- compression. However, <literal>lz4</literal> can be currently only
- used with <literal>server</literal>. A compression level can be
- optionally specified, by appending the level number after a
- colon (<literal>:</literal>). If no level is specified, the default
- compression level will be used. If only a level is specified without
- mentioning an algorithm, <literal>gzip</literal> compression will
- be used if the level is greater than 0, and no compression will be
- used if the level is 0.
+ The compression method can be set to <literal>gzip</literal> or
+ <literal>lz4</literal>, or <literal>none</literal> for no
+ compression. A compression level can be optionally specified, by
+ appending the level number after a colon (<literal>:</literal>). If no
+ level is specified, the default compression level will be used. If
+ only a level is specified without mentioning an algorithm,
+ <literal>gzip</literal> compression will be used if the level is
+ greater than 0, and no compression will be used if the level is 0.
</para>
<para>
When the tar format is used with <literal>gzip</literal> or
@@ -439,6 +435,13 @@ PostgreSQL documentation
compression. If this is done, the server will compress the backup for
transmission, and the client will decompress and extract it.
</para>
+ <para>
+ When this option is used in combination with
+ <literal>-Xstream</literal>, <literal>pg_wal.tar</literal> will
+ be compressed using <literal>gzip</literal> if client-side gzip
+ compression is selected, but will not be compressed if server-side
+ compresion or LZ4 compresion is selected.
+ </para>
</listitem>
</varlistentry>
</variablelist>