On Fri, Apr 5, 2019 at 10:06 AM Michael Paquier <michael@paquier.xyz> wrote:
On Fri, Apr 05, 2019 at 09:59:29AM +0200, Magnus Hagander wrote: > A related question is, could we (for 12+) actually make the problem go > away? As in, can we detect the state and just have pg_rewind issue the > checkpoint as needed?
I am not sure as you can still bump into the legit case where one is trying to rewind an instance which is on the same timeline as the source, and nothing should happen in this case.
If that is the case, would running a CHECKPOINT actually cause a problem?