Re: Fabien COELHO 2019-03-22 <alpine(dot)DEB(dot)2(dot)21(dot)1903221514390(dot)2198(at)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