At 2016-03-10 08:35:43 +0100, michael(dot)paquier(at)gmail(dot)com wrote:
>
> > I guess the easiest fix would be to shell out to initdb -s?
>
> What do you mean? I am not sure what initdb has to do with that as we
> have no need for it in pg_rewind.
initdb -S/--sync-only fsyncs everything in the data directory and exits.
-- Abhijit