pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jesper Pedersen <jesper.pedersen@redhat.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: pg_receivewal documentation
Date: Wed, 10 Jul 2019 11:26:04 -0400
Message-ID: <54779de5-f922-c0cf-629d-b582eded7265@redhat.com> (raw)
In-Reply-To: <20190710142421.GA28387@alvherre.pgsql>
References: <20190710142421.GA28387@alvherre.pgsql>

Hi,

On 7/10/19 10:24 AM, Alvaro Herrera wrote:
> +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.
> ?
> 

Sure.

Best regards,
  Jesper

Attachments:

v4_pgreceivewal-doc.patch (text/x-patch, 1.3K) download From cc51d52b2f67b33cd0faba1a74e05e93fc859011 Mon Sep 17 00:00:00 2001 From: jesperpedersen <jesper.pedersen@redhat.com> Date: Tue, 9 Jul 2019 13:14:25 -0400 Subject: [PATCH] Highlight that pg_receivewal doesn't apply WAL, and as such synchronous-commit needs to be remote_write or lower. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Authors: Álvaro Herrera, Laurenz Albe and Jesper Pedersen Review-by: Álvaro Herrera, Laurenz Albe and Jesper Pedersen --- doc/src/sgml/ref/pg_receivewal.sgml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/src/sgml/ref/pg_receivewal.sgml b/doc/src/sgml/ref/pg_receivewal.sgml index 0506120c00..16f9c41ff1 100644 --- a/doc/src/sgml/ref/pg_receivewal.sgml +++ b/doc/src/sgml/ref/pg_receivewal.sgml @@ -207,6 +207,14 @@ PostgreSQL documentation server as a synchronous standby, to ensure that timely feedback is sent to the server. </para> + + <para> + 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. + </para> </listitem> </varlistentry> -- 2.21.0

view thread (37+ messages)  latest in thread

Message-ID: <54779de5-f922-c0cf-629d-b582eded7265@redhat.com>
Permalink:  ../54779de5-f922-c0cf-629d-b582eded7265@redhat.com/
Also on:    postgresql.org/message-id/54779de5-f922-c0cf-629d-b582eded7265@redhat.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: jesper.pedersen@redhat.com, alvherre@2ndquadrant.com, laurenz.albe@cybertec.at
  Subject: Re: pg_receivewal documentation
  In-Reply-To: <54779de5-f922-c0cf-629d-b582eded7265@redhat.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox