pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: expose parallel leader in CSV and log_line_prefix
Date: Wed, 22 Jul 2020 11:36:05 -0400
Message-ID: <20200722153605.GA961@alvherre.pgsql> (raw)
In-Reply-To: <20200721043325.GC17300@paquier.xyz>

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





view thread (37+ messages)  latest in thread

Message-ID: <20200722153605.GA961@alvherre.pgsql>
Permalink:  ../20200722153605.GA961@alvherre.pgsql/
Also on:    postgresql.org/message-id/20200722153605.GA961@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@2ndquadrant.com, michael@paquier.xyz, pryzby@telsasoft.com, rjuju123@gmail.com, tomas.vondra@2ndquadrant.com
  Subject: Re: expose parallel leader in CSV and log_line_prefix
  In-Reply-To: <20200722153605.GA961@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox