Re: [HACKERS] More replication race conditions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] More replication race conditions
Date
Msg-id 5177.1503876835@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] More replication race conditions  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: [HACKERS] More replication race conditions  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> Attached is a patch to make this code path wait that the transaction
> has been replayed. We could use as well synchronous_commit = apply,
> but I prefer the solution of this patch with a wait query.

Petr proposed a different patch to fix the same problem at
https://www.postgresql.org/message-id/1636c52e-c144-993a-6665-9358f322deda%402ndquadrant.com

Which one is better?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] More replication race conditions
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] More replication race conditions