aboutsummaryrefslogtreecommitdiff
path: root/doc/src
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 /doc/src
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 'doc/src')
-rw-r--r--doc/src/sgml/runtime.sgml3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index 33c661dd5cb..408418ee33a 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.310 2005/03/19 23:27:04 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.311 2005/03/24 04:36:17 momjian Exp $
-->
<chapter Id="runtime">
@@ -1587,6 +1587,7 @@ SET ENABLE_SEQSCAN TO OFF;
values are
<literal>fsync</> (call <function>fsync()</> at each commit),
<literal>fdatasync</> (call <function>fdatasync()</> at each commit),
+ <literal>fsync_writethrough</> (call <function>_commit()</> at each commit on Windows),
<literal>open_sync</> (write WAL files with <function>open()</> option <symbol>O_SYNC</>), and
<literal>open_datasync</> (write WAL files with <function>open()</> option <symbol>O_DSYNC</>).
Not all of these choices are available on all platforms.