]> granicus.if.org Git - postgresql/commit
Change Win32 O_SYNC method to O_DSYNC because that is what the method
authorBruce Momjian <bruce@momjian.us>
Thu, 24 Mar 2005 04:37:07 +0000 (04:37 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 24 Mar 2005 04:37:07 +0000 (04:37 +0000)
commit291cd954fbfa48d8db79f22ffa8d596c837f7ee3
treec5ee727969ee7d110179eddee8a963fcfe313a4c
parent3781b72c22f766b390d29c4b9c6adbdc6997c774
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