Re: Logging parallel worker draught

solai v <solai.cdac@gmail.com>

From: solai v <solai.cdac@gmail.com>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: Benoit Lobréau <benoit.lobreau@dalibo.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-06-09T09:35:03Z
Lists: pgsql-hackers
Hi

> Yeah, I think some hunks disappeared from 0001, in the .h files as well
> as the .sgml docs.  Probably just a borked merge.  I re-merged them,
> here's the patchset again.  I did not review this.
I retested the updated v11 patch series.
The patches applied cleanly and postgresql built successfully.
I verified that the new GUC log_parallel_workers is available .Using
SET log_parallel_workers = ' shortage ' ;
I reproduced a parallel worker shortage scenario where the query
planned 2 workers but launched only 1 worker.
The server log correctly reported    LOG: launched 1 parallel workers
(planned:2)
and EXPLAIN ANALYZE showed
Workers planned: 2
workers Launched: 1
So the updated patch appears to work intended in this test case.

Regards
solai