aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-03-24 04:36:20 +0000
committerBruce Momjian <bruce@momjian.us>2005-03-24 04:36:20 +0000
commitb1f57d88f56e0fbb49e4e5c8839cd3fb3a580a14 (patch)
treec10060fd13f479e4e3c957c58b8c00e99606b6c9 /src/backend/utils/misc/postgresql.conf.sample
parent0275b3f783731f7fa95ea8b93ad3f48fc7a2f29f (diff)
downloadpostgresql-b1f57d88f56e0fbb49e4e5c8839cd3fb3a580a14.tar.gz
postgresql-b1f57d88f56e0fbb49e4e5c8839cd3fb3a580a14.zip
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.
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index b68cd2f8cf9..113021fd79f 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -114,7 +114,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