Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Sami Imseih <samimseih@gmail.com>
Cc: Guillaume Lelarge <guillaume@lelarge.info>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-19T00:52:14Z
Lists: pgsql-hackers
On Sat, Jan 18, 2025 at 05:42:50PM -0600, Sami Imseih wrote:
> Here is a v1 that implements CREATE INDEX (VERBOSE)
> to output the parallel workers planned and launched.

Hmm.  I am reading Tom's opinion that goes toward not going in this
direction for more commands, with the point to extend EXPLAIN to show 
this kind of information:
https://www.postgresql.org/message-id/1692530.1736369905@sss.pgh.pa.us

So do we really want to do what's proposed here?  I'm +-0 about the 
VERBOSE option attached to more commands, as it is a bit harder for
clients to catch the information wanted.  So here comes my question:
how do we want to consume this information at the end from the
perspective of the client?
--
Michael