Re: pg_receivewal documentation

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: pg_receivewal documentation
Дата
Msg-id
20190725075817.GA7647@paquier.xyz
Ответ на
Re: pg_receivewal documentation (Jehan-Guillaume de Rorthais)
Список
Дерево обсуждения
pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Laurenz Albe <laurenz.albe@cybertec.at>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Robert Haas <robertmhaas@gmail.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Re: pg_receivewal documentation Michael Paquier <michael@paquier.xyz>
Re: pg_receivewal documentation Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Re: pg_receivewal documentation Jesper Pedersen <jesper.pedersen@redhat.com>
On Wed, Jul 24, 2019 at 03:03:04PM +0200, Jehan-Guillaume de Rorthais wrote:
> Unless I am missing something, another solution might be to use a dedicated
> role to pg_receive{xlog|wal} with synchronous_commit lower than
> remote_apply.

Aren't you confused by the same thing as I was upthread [1]?
[1]: https://www.postgresql.org/message-id/20190710080423.GG1031@paquier.xyz

remote_apply affects all sessions.  So even if you use a replication
role with synchronous_commit = on and have pg_receivewal use that with
remote_apply set in postgresql.conf, then remote_apply is effective
for all the other sessions so these will still be stuck at commit
waiting for pg_receivewal to apply WAL if it is a synchronous
standby.
--
Michael
В списке pgsql-hackers по дате отправления
От: Julien Rouhaud
Дата:
От: Sergei Kornilov
Дата:
FAQ