Change Win32 O_SYNC method to O_DSYNC because that is what the method

Bruce Momjian <bruce@momjian.us>

Commit: b1f57d88f56e0fbb49e4e5c8839cd3fb3a580a14
Author: Bruce Momjian <bruce@momjian.us>
Date: 2005-03-24T04:36:20Z
Releases: 8.1.0
Change Win32 O_SYNC method to O_DSYNC because that is what the method
currently does.  This is now the default Win32 wal sync method because
we perfer o_datasync to fsync.

Also, change Win32 fsync to a new wal sync method called
fsync_writethrough because that is the behavior of _commit, which is
what is used for fsync on Win32.

Backpatch to 8.0.X.

Files