diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-02-28 11:02:23 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-02-28 11:02:23 +0900 |
commit | ab1d9f066aee4f9b81abde6136771debe0191ae8 (patch) | |
tree | 0a136e700753a8a29979671a9b10ab0999606955 | |
parent | 406e937d124842b3c268f1d96848b73d8defc05a (diff) | |
download | postgresql-ab1d9f066aee4f9b81abde6136771debe0191ae8.tar.gz postgresql-ab1d9f066aee4f9b81abde6136771debe0191ae8.zip |
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
-rw-r--r-- | doc/src/sgml/config.sgml | 3 | ||||
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index cd868e36d21..ef0787a5a13 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -7783,7 +7783,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 diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 3e68afd2750..160011f4de3 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -635,7 +635,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) #------------------------------------------------------------------------------ |