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. --- src/backend/utils/misc/postgresql.conf.sample | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/utils/misc/postgresql.conf.sample') diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 86640efa7da..6a3a699c1cc 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -111,7 +111,8 @@ #fsync = true # turns forced synchronization on or off #wal_sync_method = fsync # the default varies across platforms: - # fsync, fdatasync, open_sync, or open_datasync + # fsync, fdatasync, fsync_writethrough, + # open_sync, open_datasync #wal_buffers = 8 # min 4, 8KB each #commit_delay = 0 # range 0-100000, in microseconds #commit_siblings = 5 # range 1-1000 -- cgit v1.2.3