Re: Windows now has fdatasync()
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Dave Page <dpage@pgadmin.org>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2022-07-19T04:54:43Z
Lists: pgsql-hackers
On Mon, Jul 18, 2022 at 03:26:36PM +1200, Thomas Munro wrote: > My plan now is to commit this patch so that problem #1 is solved, prod > conchuela's owner to upgrade to solve #2, and wait until Tom shuts > down prairiedog to solve #3. Then we could consider removing the > HAVE_FDATASYNC probe and associated #ifdefs when convenient. For that > reason, I'm not too bothered about the slight weirdness of defining > HAVE_FDATASYNC on Windows even though that doesn't come from > configure; it'd hopefully be short-lived. Better ideas welcome, > though. Does that make sense? Do you still need HAVE_DECL_FDATASYNC? -- Michael
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