Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2 - Mailing list pgsql-general

From Tom Lane
Subject Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2
Date
Msg-id 18784.1550250790@sss.pgh.pa.us
Whole thread Raw
In response to Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2  (Andres Freund <andres@anarazel.de>)
Responses Re: WSL (windows subsystem on linux) users will need to turn fsync off as of 11.2  (Andres Freund <andres@anarazel.de>)
List pgsql-general
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


pgsql-general by date:

Previous
From: Andres Freund
Date:
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
Next
From: Alan Nilsson
Date:
Subject: Re: loading plpython error