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

From James Sewell
Subject Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
Date
Msg-id CAANVwEu+XAsRpXeohELd_=g37RFnOpkuuU1MEQV+JWDkkg=chA@mail.gmail.com
Whole thread Raw
In response to Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
List pgsql-general

Here's a starter patch that shows one of the approaches discussed.  It
gets WSL users to a better place than they were before, by suppressing
further warnings after the first one.

This wasn't quite right, updated to check erro for ENOSYS (not rc)

This compiles and stops the panic on WSL (with a single warning). 

I haven't tested if a version compiled on Linux will behave the same way - but based on the error messages in the top post it looks like the behavior is the same.

--
James 


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.
Attachment

pgsql-general by date:

Previous
From: James Sewell
Date:
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2
Next
From: Thomas Munro
Date:
Subject: Re: WSL (windows subsystem on linux) users will need to turn fsyncoff as of 11.2