pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unused ParallelWorkerInfo.pid field
Date: Mon, 04 Mar 2024 10:56:22 +0000
Message-ID: <E1rh5za-0021fc-2h@gemulon.postgresql.org> (raw)

Remove unused ParallelWorkerInfo.pid field

The pid was originally used in error context of messages propagated
from parallel workers, but commit 292794f82b removed that. If the need
arises in the future, you can also get the pid with
"shm_mq_get_sender(pcxt->worker[i].error_mqh)->pid".

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0dd094c4a0a4766cfb3c4932fa32af906229e3e3

Modified Files
--------------
src/backend/access/transam/parallel.c | 23 -----------------------
src/include/access/parallel.h         |  1 -
2 files changed, 24 deletions(-)



view thread (2+ messages)

Message-ID: <E1rh5za-0021fc-2h@gemulon.postgresql.org>
Permalink:  ../E1rh5za-0021fc-2h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rh5za-0021fc-2h@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove unused ParallelWorkerInfo.pid field
  In-Reply-To: <E1rh5za-0021fc-2h@gemulon.postgresql.org>

* 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