From 900f84e27538d44d00650adbfd8349f492f7e4ab Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 16 Dec 2007 14:03:32 +0000 Subject: [PATCH] Update write-cache docs to mention windows behavior for various fsync_methods. Magnus. --- doc/src/sgml/wal.sgml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index d1228fdc40..467c8d4609 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -1,4 +1,4 @@ - + Reliability and the Write-Ahead Log @@ -65,10 +65,13 @@ write caching. On FreeBSD use atacontrol. (For SCSI disks use sdparm - to turn off WCE.) On Windows write caching is - disabled by unchecking My Computer\Open\{select disk + to turn off WCE.) On Windows if + wal_sync_method is open_datasync (the default), + write caching is disabled by unchecking My + Computer\Open\{select disk drive}\Properties\Hardware\Properties\Policies\Enable write caching on - the disk. + the disk. Also on Windows, fsync and + fsync_writethrough never use write caching. -- 2.40.0