doc: Fix description of some GUCs in docs and postgresql.conf.sample
authorMichael Paquier
Thu, 27 May 2021 05:57:28 +0000 (14:57 +0900)
committerMichael Paquier
Thu, 27 May 2021 05:57:28 +0000 (14:57 +0900)
The following parameters have been imprecise, or incorrect, about their
description (PGC_POSTMASTER or PGC_SIGHUP):
- autovacuum_work_mem (docs, as of 9.6~)
- huge_page_size (docs, as of 14~)
- max_logical_replication_workers (docs, as of 10~)
- max_sync_workers_per_subscription (docs, as of 10~)
- min_dynamic_shared_memory (docs, as of 14~)
- recovery_init_sync_method (postgresql.conf.sample, as of 14~)
- remove_temp_files_after_crash (docs, as of 14~)
- restart_after_crash (docs, as of 9.6~)
- ssl_min_protocol_version (docs, as of 12~)
- ssl_max_protocol_version (docs, as of 12~)

This commit adjusts the description of all these parameters to be more
consistent with the practice used for the others.

Revewed-by: Justin Pryzby
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 9.6

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

index 7e32b0686c6ae91598e9405f0568ec7e85543cd7..67a0e997bb263027c930e125c83fdf74717f7f97 100644 (file)
@@ -1472,6 +1472,11 @@ include_dir 'conf.d'
         The default is TLSv1.2, which satisfies industry
         best practices as of this writing.
        
+
+       
+        This parameter can only be set in the postgresql.conf
+        file or on the server command line.
+       
       
      
 
@@ -1490,6 +1495,11 @@ include_dir 'conf.d'
         useful for testing or if some component has issues working with a
         newer protocol.
        
+
+       
+        This parameter can only be set in the postgresql.conf
+        file or on the server command line.
+       
       
      
 
@@ -1703,7 +1713,7 @@ include_dir 'conf.d'
         .
         The default is zero (0).
         When set to 0, the default huge page size on the
-        system will be used.
+        system will be used. This parameter can only be set at server start.
        
        
         Some commonly available page sizes on modern 64 bit server architectures include:
@@ -1900,6 +1910,9 @@ include_dir 'conf.d'
         the value of  should
         be used instead.  The setting has no effect on the behavior of
         VACUUM when run in other contexts.
+        This parameter can only be set in the
+        postgresql.conf file or on the server command
+        line.
        
       
      
@@ -2029,7 +2042,8 @@ include_dir 'conf.d'
         the huge_pages setting on operating systems where
         that is supported, and may be more likely to benefit from larger pages
         on operating systems where that is managed automatically.
-        The default value is 0 (none).
+        The default value is 0 (none). This parameter can
+        only be set at server start.
        
       
      
@@ -4794,7 +4808,8 @@ ANY num_sync ( 
         max_worker_processes.
        
        
-        The default value is 4.
+        The default value is 4. This parameter can only be set at server
+        start.
        
       
      
@@ -4819,7 +4834,9 @@ ANY num_sync ( 
         max_logical_replication_workers.
        
        
-        The default value is 2.
+        The default value is 2. This parameter can only be set in the
+        postgresql.conf file or on the server command
+        line.
        
       
      
@@ -9836,6 +9853,11 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
         useful to disable the restart so that the clusterware can gain
         control and take any actions it deems appropriate.
        
+
+       
+        This parameter can only be set in the postgresql.conf
+        file or on the server command line.
+       
       
      
 
@@ -9853,6 +9875,11 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
         retained and may be used for debugging, for example. Repeated crashes
         may however result in accumulation of useless files.
        
+
+       
+        This parameter can only be set in the postgresql.conf
+        file or on the server command line.
+       
       
      
 
@@ -9921,6 +9948,9 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
         PostgreSQL, and relevant error messages may
         appear only in kernel logs.
        
+       
+        This parameter can only be set at server start.
+       
       
      
 
index 9c4c4a9eec313420e15fc6ee9c2f983281312483..ddbb6dc2be2c09e5674b5588775998f4a1228f80 100644 (file)
                    # data?
                    # (change requires restart)
 #recovery_init_sync_method = fsync # fsync, syncfs (Linux 5.8+)
+                   # (change requires restart)
 
 
 #------------------------------------------------------------------------------