On 2019-Jul-09, Jesper Pedersen wrote:

> +       <para>
> +        Note that while WAL will be flushed with this setting,
> +        it will never be applied, so <xref 
> linkend="guc-synchronous-commit"/> must
> +        not be set to <literal>remote_apply</literal> if 
> <application>pg_receivewal</application>
> +        is the only synchronous standby.
> +       </para>

+1 to document this caveat.

How about 
        Note that while WAL will be flushed with this setting,
        <application>pg_receivewal</application> never applies it, so
        <xref linkend="guc-synchronous-commit"/> must not be set to
        <literal>remote_apply</literal> if 
<application>pg_receivewal</application>
        is the only synchronous standby.
?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Reply via email to