summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 3aa74870f88..f3287219627 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1442,12 +1442,12 @@ SET ENABLE_SEQSCAN TO OFF;
</listitem>
<listitem>
<para>
- <literal>fsync_writethrough</> (call <function>fsync()</> at each commit, forcing write-through of any disk write cache)
+ <literal>fsync</> (call <function>fsync()</> at each commit)
</para>
</listitem>
<listitem>
<para>
- <literal>fsync</> (call <function>fsync()</> at each commit)
+ <literal>fsync_writethrough</> (call <function>fsync()</> at each commit, forcing write-through of any disk write cache)
</para>
</listitem>
<listitem>
@@ -1457,12 +1457,11 @@ SET ENABLE_SEQSCAN TO OFF;
</listitem>
</itemizedlist>
<para>
- Not all of these choices are available on all platforms.
The <literal>open_</>* options also use <literal>O_DIRECT</> if available.
+ Not all of these choices are available on all platforms.
The default is the first method in the above list that is supported
- by the platform.
- The default is the first method in the above list that is supported
- by the platform. The default is not necessarily ideal; it might be
+ by the platform, except that <literal>fdatasync</> is the default on
+ Linux. The default is not necessarily ideal; it might be
necessary to change this setting or other aspects of your system
configuration in order to create a crash-safe configuration or
achieve optimal performance.