Change Win32 O_SYNC method to O_DSYNC because that is what the method
authorBruce Momjian <bruce@momjian.us>
Thu, 24 Mar 2005 04:36:20 +0000 (04:36 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 24 Mar 2005 04:36:20 +0000 (04:36 +0000)
commitb1f57d88f56e0fbb49e4e5c8839cd3fb3a580a14
treec10060fd13f479e4e3c957c58b8c00e99606b6c9
parent0275b3f783731f7fa95ea8b93ad3f48fc7a2f29f
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.
doc/src/sgml/runtime.sgml
src/backend/access/transam/xlog.c
src/backend/utils/misc/postgresql.conf.sample
src/include/port/win32.h
src/port/open.c