Re: expose parallel leader in CSV and log_line_prefix

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: expose parallel leader in CSV and log_line_prefix
Date: 2020-07-22 15:36:05
Message-ID: 20200722153605.GA961@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-Jul-21, Michael Paquier wrote:

> On Mon, Jul 20, 2020 at 11:12:31PM -0500, Justin Pryzby wrote:

> >> + Process ID of the parallel group leader if this process is involved
> >> + in parallel query, or null. For a parallel group leader, this field
> >> + is <literal>NULL</literal>.
> >> </para></entry>

> > | For a parallel worker, this is the Process ID of its leader process. Null
> > | for processes which are not parallel workers.

How about we combine both. "Process ID of the parallel group leader, if
this process is a parallel query worker. NULL if this process is a
parallel group leader or does not participate in parallel query".

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Soumyadeep Chakraborty 2020-07-22 18:00:50 Re: Parallel Seq Scan vs kernel read ahead
Previous Message Tom Lane 2020-07-22 15:10:10 Re: [PATCH] fix GIN index search sometimes losing results