Re: Windows now has fdatasync()
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Thomas Munro <thomas.munro@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-04-08T04:40:55Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > On Fri, Apr 08, 2022 at 02:56:15PM +1200, Thomas Munro wrote: >> I propose that we drop support for Windows versions older than >> 10/Server 2016 in the PostgreSQL 16 cycle, Do we have any data on what people are actually using? > Do you think that we could raise the minimum C standard on WIN32 to > C11, at least for MSVC? As long as the C11-isms are in MSVC-only code, it seems like this is exactly equivalent to setting a minimum MSVC version. I don't see an objection-in-principle there, it's just a practical question of how far back is reasonable to support MSVC versions. (That's very distinct from how far back we need the built code to run.) regards, tom lane
Commits
-
Remove configure probe for fdatasync.
- d2e150831af8 16.0 landed
-
Remove O_FSYNC and associated macros.
- a1b56090eb54 16.0 landed
-
Fix warnings on Windows.
- bde60daa0ec9 16.0 landed
-
Add wal_sync_method=fdatasync for Windows.
- 9430fb407bb6 16.0 landed