summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2007-12-16 14:03:32 +0000
committerBruce Momjian2007-12-16 14:03:32 +0000
commit58189e25fdf0b969f69137f9aa90b25f28c4f7c3 (patch)
treec0cee2c5b79f2ae8b492ada8f2e1bf22026ba595
parent287e724a597011d5ceb7326d367b9a1d4b406d4f (diff)
Update write-cache docs to mention windows behavior for various
fsync_methods. Magnus.
-rw-r--r--doc/src/sgml/wal.sgml9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml
index a2e7356f2c..274589a928 100644
--- a/doc/src/sgml/wal.sgml
+++ b/doc/src/sgml/wal.sgml
@@ -65,10 +65,13 @@
write caching. On <productname>FreeBSD</> use
<application>atacontrol</>. (For SCSI disks use <ulink
url="http://sg.torque.net/sg/sdparm.html"><application>sdparm</></ulink>
- to turn off <literal>WCE</>.) On <productname>Windows</> write caching is
- disabled by unchecking <literal>My Computer\Open\{select disk
+ to turn off <literal>WCE</>.) On <productname>Windows</> if
+ <varname>wal_sync_method</> is <literal>open_datasync</> (the default),
+ write caching is disabled by unchecking <literal>My
+ Computer\Open\{select disk
drive}\Properties\Hardware\Properties\Policies\Enable write caching on
- the disk</>.
+ the disk</>. Also on Windows, <literal>fsync</> and
+ <literal>fsync_writethrough</> never use write caching.
</para>
<para>