]> granicus.if.org Git - postgresql/commitdiff
Improve documentation of data_sync_retry
authorMichael Paquier <michael@paquier.xyz>
Thu, 28 Feb 2019 02:02:31 +0000 (11:02 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 28 Feb 2019 02:02:31 +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 f59428f6f2c6cccaf75e36690349f6a5309b8805..c485f4635db0cb0d6e18a5a6dba5dde2328520cb 100644 (file)
@@ -7530,7 +7530,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
index 756dfb396a7a806fa31966de12195a38060fb074..b8d7d85710890aab7bfb0ed26c1a11f59faf015c 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)
 
 
 #------------------------------------------------------------------------------