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:18 +09:00
parent d9bba27c8b
commit 0bf7f56cfe
2 changed files with 5 additions and 2 deletions

View File

@ -8145,7 +8145,8 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
<para>
When set to false, 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

@ -665,7 +665,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)
#------------------------------------------------------------------------------