mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add support for wal_fsync_writethrough for Darwin, and restructure the
code to better handle writethrough. Chris Campbell
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.319 2005/05/15 00:26:18 momjian Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.320 2005/05/20 14:53:25 momjian Exp $
|
||||
-->
|
||||
|
||||
<chapter Id="runtime">
|
||||
@ -1595,7 +1595,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>fsync_writethrough</> (force write-through of any disk write cache),
|
||||
<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.
|
||||
|
Reference in New Issue
Block a user