Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab1d9f0

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 406e937 commit ab1d9f0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7783,7 +7783,8 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
77837783
<para>
77847784
When set to false, which is the default, <productname>PostgreSQL</productname>
77857785
will raise a PANIC-level error on failure to flush modified data files
7786-
to the filesystem. This causes the database server to crash.
7786+
to the filesystem. This causes the database server to crash. This
7787+
parameter can only be set at server start.
77877788
</para>
77887789
<para>
77897790
On some operating systems, the status of data in the kernel's page

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,9 @@
635635

636636
#exit_on_error = off # terminate session on any error?
637637
#restart_after_crash = on # reinitialize after backend crash?
638-
#data_sync_retry = off # retry or panic on failure to fsync data?
638+
#data_sync_retry = off # retry or panic on failure to fsync
639+
# data?
640+
# (change requires restart)
639641

640642

641643
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)