Improve documentation of data_sync_retry

Reflecting an updated parameter value requires a server restart, which
was not mentioned in the documentation and in postgresql.conf.sample.

Reported-by: Thomas Poty
Discussion: https://postgr.es/m/15659-0cd812f13027a2d8@postgresql.org
This commit is contained in:
Michael Paquier 2019-02-28 11:02:11 +09:00
parent 87c346a35e
commit b3a156858a
2 changed files with 5 additions and 2 deletions

View File

@ -8791,7 +8791,8 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
<para>
When set to off, which is the default, <productname>PostgreSQL</productname>
will raise a PANIC-level error on failure to flush modified data files
to the filesystem. This causes the database server to crash.
to the filesystem. This causes the database server to crash. This
parameter can only be set at server start.
</para>
<para>
On some operating systems, the status of data in the kernel's page

View File

@ -719,7 +719,9 @@
#exit_on_error = off # terminate session on any error?
#restart_after_crash = on # reinitialize after backend crash?
#data_sync_retry = off # retry or panic on failure to fsync data?
#data_sync_retry = off # retry or panic on failure to fsync
# data?
# (change requires restart)
#------------------------------------------------------------------------------