You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove wal_sync_method=fsync_writethrough on Windows.
The "fsync" level already flushes drive write caches on Windows (as does
"fdatasync"), so it only confuses matters to have an apparently higher
level that isn't actually different at all.
That leaves "fsync_writethrough" only for macOS, where it actually does
something different.
Reviewed-by: Magnus Hagander <magnus@hagander.net>
Discussion: https://postgr.es/m/CA%2BhUKGJ2CG2SouPv2mca2WCTOJxYumvBARRcKPraFMB6GSEMcA%40mail.gmail.com
Copy file name to clipboardExpand all lines: doc/src/sgml/wal.sgml
+2-3
Original file line number
Diff line number
Diff line change
@@ -109,9 +109,8 @@
109
109
<literal>open_datasync</literal> (the default), write caching can be disabled
110
110
by unchecking <literal>My Computer\Open\<replaceable>disk drive</replaceable>\Properties\Hardware\Properties\Policies\Enable write caching on the disk</literal>.
111
111
Alternatively, set <varname>wal_sync_method</varname> to
112
-
<literal>fdatasync</literal> (NTFS only), <literal>fsync</literal> or
113
-
<literal>fsync_writethrough</literal>, which prevent
114
-
write caching.
112
+
<literal>fdatasync</literal> (NTFS only) or <literal>fsync</literal>,
0 commit comments