Andres Freund <andres@anarazel.de> writes:
> I suspect that's because WSL has an empty implementation of
> sync_file_range(), i.e. it unconditionally returns ENOSYS. But as
> configure detects it, we still emit calls for it. I guess we ought to
> except ENOSYS for the cases where we do panic-on-fsync-failure?
I'm of the opinion that we shouldn't be panicking for sync_file_range
failure, period.
regards, tom lane