From: Tom Lane <tgl@sss.pgh.pa.us>
To: kline.christopher@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather
Date: Thu, 15 Feb 2024 10:55:10 -0500
Message-ID: <3258900.1708012510@sss.pgh.pa.us> (raw)
In-Reply-To: <18343-3a5e903d1d3692ab@postgresql.org>
References: <18343-3a5e903d1d3692ab@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> In the default postgresql.conf that is generated, there are the following
> lines:
> #max_worker_processes = 8 # (change requires restart)
> #max_parallel_workers_per_gather = 2 # taken from max_parallel_workers
> <<<<<<<<<<<<<<<<<<<<<<<< THIS
> #max_parallel_maintenance_workers = 2 # taken from max_parallel_workers
> max_parallel_workers = 8 # maximum number of max_worker_processes that
> # can be used in parallel operations
> it indicates that the default value is taken from whatever
> max_parallel_workers is.
No, you're misreading it. There's no magic connection between these
two settings. What the comment means to say is that the per-gather
worker processes come out of a pool of at most max_parallel_workers
processes. Perhaps another wording would be better, but we don't have
a lot of space here --- any thoughts?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, kline.christopher@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18343: Incorrect description in postgresql.conf for max_parallel_workers_per_gather
In-Reply-To: <3258900.1708012510@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox