fix_pg_basebackup_doc_v3.patch

text/x-patch

Filename: fix_pg_basebackup_doc_v3.patch
Type: text/x-patch
Part: 0
Message: Re: Stale description for pg_basebackup

Patch

Format: unified
Series: patch v3
File+
doc/src/sgml/ref/pg_basebackup.sgml 8 2
diff --git a/doc/src/sgml/ref/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml
index a3e292d44a..15e48f5a8e 100644
--- a/doc/src/sgml/ref/pg_basebackup.sgml
+++ b/doc/src/sgml/ref/pg_basebackup.sgml
@@ -83,8 +83,14 @@ PostgreSQL documentation
     </listitem>
     <listitem>
      <para>
-      If you are using <literal>-X none</literal>, there is no guarantee that all
-      WAL files required for the backup are archived at the end of backup.
+       If you are using <literal>-X none</literal>, there is no guarantee on
+       the primary that all WAL files required for the backup are archived at
+       the end of backup. When <varname>archive_mode</varname> is set
+       to <literal>on</literal> on the
+       standby, <application>pg_basebackup</application> may wait for a long
+       time for all the required WAL files to be archived.  In that case, You
+       may need to call <function>pg_switch_wal()</function> on the primary to
+       complete it sooner.
      </para>
     </listitem>
     <listitem>