From 291cd954fbfa48d8db79f22ffa8d596c837f7ee3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 24 Mar 2005 04:37:07 +0000 Subject: 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index 40a7594bbb3..300aaf2c23d 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -1511,6 +1511,7 @@ SET ENABLE_SEQSCAN TO OFF; values are fsync (call fsync() at each commit), fdatasync (call fdatasync() at each commit), + fsync_writethrough (call _commit() at each commit on Windows), open_sync (write WAL files with open() option O_SYNC), and open_datasync (write WAL files with open() option O_DSYNC). Not all of these choices are available on all platforms. -- cgit v1.2.3