Improve documentation of data_sync_retry
authorMichael Paquier
Thu, 28 Feb 2019 02:02:23 +0000 (11:02 +0900)
committerMichael Paquier
Thu, 28 Feb 2019 02:02:23 +0000 (11:02 +0900)
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

doc/src/sgml/config.sgml
src/backend/utils/misc/postgresql.conf.sample

index cd868e36d215558f5d9acd3de53b104bba5e4ece..ef0787a5a13a34223cf58af9f8deaa77e3f6058e 100644 (file)
@@ -7783,7 +7783,8 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
        
         When set to false, which is the default, PostgreSQL
         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.
        
        
         On some operating systems, the status of data in the kernel's page
index 3e68afd27502ae0706068b2a61f9931ef4d2bb6c..160011f4de39e2054d27c5d1651b17f0a4410992 100644 (file)
 
 #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)
 
 
 #------------------------------------------------------------------------------