Re: improve DEBUG1 logging of parallel workers for CREATE INDEX?
Guillaume Lelarge <guillaume@lelarge.info>
From: Guillaume Lelarge <guillaume@lelarge.info>
To: Sami Imseih <samimseih@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>,
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-08T20:48:17Z
Lists: pgsql-hackers
Le mer. 8 janv. 2025 à 21:44, Sami Imseih <samimseih@gmail.com> a écrit : > > I think DEBUG is perfectly appropriate for this sort of message. > > I am curious what are the thoughts on introducing a > CREATE INDEX VERBOSE which can provide this info? > similar to users scripting VACUUM VERBOSE to log > more details about the vacuum operation including parallel > usage. > > I have not convinced myself this is a good idea, but maybe > someone has an opinion. If not, we can just stick with a better > DEBUG1 message. > > Sounds better to me than relying on DEBUG messages. So, yeah, VERBOSE has my vote. -- Guillaume.