Re: Fabien COELHO 2019-03-22 <alpine.DEB.2.21.1903221514390.2198@lancre> > Attached is a quick patch about "pg_rewind", so that the control file is > updated after everything else is committed to disk.
> update_controlfile(datadir_target, progname, &ControlFile_new, do_sync); > > - pg_log(PG_PROGRESS, "syncing target data directory\n"); > - syncTargetDirectory(); Doesn't the control file still need syncing? Christoph