]> granicus.if.org Git - postgresql/commitdiff
Update recovery_min_apply_delay docs for remote_apply mode.
authorRobert Haas <rhaas@postgresql.org>
Mon, 19 Sep 2016 17:38:21 +0000 (13:38 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 19 Sep 2016 17:38:21 +0000 (13:38 -0400)
Bernd Helmle, reviewed by Thomas Munro, tweaked by me.

doc/src/sgml/recovery-config.sgml

index de3fb10f5bed8992c2aae6437ce4e282b9428f9e..8c24ae2174aa60c864315c8bb4a4be59a5f1afb3 100644 (file)
@@ -487,10 +487,17 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"'  # Windows
        <para>
         This parameter is intended for use with streaming replication deployments;
         however, if the parameter is specified it will be honored in all cases.
-        Synchronous replication is not affected by this setting because there is
-        not yet any setting to request synchronous apply of transaction commits.
+
         <varname>hot_standby_feedback</> will be delayed by use of this feature
         which could lead to bloat on the master; use both together with care.
+
+        <warning>
+         <para>
+          Synchronous replication is affected by this setting when <varname>synchronous_commit</varname>
+          is set to <literal>remote_apply</literal>; every <literal>COMMIT</literal>
+          will need to wait to be applied.
+         </para>
+        </warning>
        </para>
       </listitem>
      </varlistentry>