Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Doc: improve a couple of comments in postgresql.conf.sample.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Feb 2024 21:45:03 +0000 (16:45 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 15 Feb 2024 21:45:03 +0000 (16:45 -0500)
Clarify comments associated with max_parallel_workers and
related settings.

Per bug #18343 from Christopher Kline.

Discussion: https://postgr.es/m/18343-3a5e903d1d3692ab@postgresql.org

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

index f92ff4cc2952f1f5a327e644fa989ebcd24ed4ce..7bf891a9020b71226e89f32e30e80387a19b948f 100644 (file)
 #effective_io_concurrency = 1      # 1-1000; 0 disables prefetching
 #maintenance_io_concurrency = 10   # 1-1000; 0 disables prefetching
 #max_worker_processes = 8      # (change requires restart)
-#max_parallel_workers_per_gather = 2   # taken from max_parallel_workers
-#max_parallel_maintenance_workers = 2  # taken from max_parallel_workers
-#max_parallel_workers = 8      # maximum number of max_worker_processes that
+#max_parallel_workers_per_gather = 2   # limited by max_parallel_workers
+#max_parallel_maintenance_workers = 2  # limited by max_parallel_workers
+#max_parallel_workers = 8      # number of max_worker_processes that
                    # can be used in parallel operations
 #parallel_leader_participation = on
 #old_snapshot_threshold = -1       # 1min-60d; -1 disables; 0 is immediate