Re: expose parallel leader in CSV and log_line_prefix

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Julien Rouhaud <rjuju123@gmail.com>, Tomas Vondra <tomas.vondra@2ndquadrant.com>, pgsql-hackers@postgresql.org
Date: 2020-07-26T18:54:27Z
Lists: pgsql-hackers

Attachments

On Sun, Jul 26, 2020 at 04:42:06PM +0900, Michael Paquier wrote:
> On Thu, Jul 23, 2020 at 09:52:14AM +0900, Michael Paquier wrote:
> > Sounds fine to me.  Thanks.
> > 
> > Do others have any objections with this wording?
> 
> I have used the wording suggested by Alvaro, and applied the patch
> down to 13.  Now let's see about the original item of this thread..

Updated with updated wording to avoid "null", per Tom.

-- 
Justin

Commits

  1. Add %P to log_line_prefix for parallel group leader

  2. Tweak behavior of pg_stat_activity.leader_pid

  3. Add leader_pid to pg_stat_activity