diff options
author | Thomas Munro <tmunro@postgresql.org> | 2023-07-14 11:59:07 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2023-07-14 12:30:13 +1200 |
commit | d0c28601efaa8b04f11a19506f3371bba8438acc (patch) | |
tree | 04f752fbb2ade2b6fc9f44d1c0c4d9978c98e01b /doc/src | |
parent | aea7fe33fb6a96133c47cf4b3af25a7c62f49c06 (diff) | |
download | postgresql-d0c28601efaa8b04f11a19506f3371bba8438acc.tar.gz postgresql-d0c28601efaa8b04f11a19506f3371bba8438acc.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/wal.sgml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml index ed7929cbcd7..4aad0e1a075 100644 --- a/doc/src/sgml/wal.sgml +++ b/doc/src/sgml/wal.sgml @@ -109,9 +109,8 @@ <literal>open_datasync</literal> (the default), write caching can be disabled by unchecking <literal>My Computer\Open\<replaceable>disk drive</replaceable>\Properties\Hardware\Properties\Policies\Enable write caching on the disk</literal>. Alternatively, set <varname>wal_sync_method</varname> to - <literal>fdatasync</literal> (NTFS only), <literal>fsync</literal> or - <literal>fsync_writethrough</literal>, which prevent - write caching. + <literal>fdatasync</literal> (NTFS only) or <literal>fsync</literal>, + which prevent write caching. </para> </listitem> |