Skip to content

Commit b3a1568

Browse files
committed
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/[email protected]
1 parent 87c346a commit b3a1568

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/src/sgml/config.sgml

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

src/backend/utils/misc/postgresql.conf.sample

+3-1
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,9 @@
719719

720720
#exit_on_error = off # terminate session on any error?
721721
#restart_after_crash = on # reinitialize after backend crash?
722-
#data_sync_retry = off # retry or panic on failure to fsync data?
722+
#data_sync_retry = off # retry or panic on failure to fsync
723+
# data?
724+
# (change requires restart)
723725

724726

725727
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)