Remove unused ParallelWorkerInfo.pid field
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 4 Mar 2024 10:56:02 +0000 (12:56 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 4 Mar 2024 10:56:02 +0000 (12:56 +0200)
commit0dd094c4a0a4766cfb3c4932fa32af906229e3e3
tree67df1d62eceb9d3c67a3652ef0977b9b67dc76c1
parent8545b28679a2ec2aa66ad2ec81f17019dab5d780
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".
src/backend/access/transam/parallel.c
src/include/access/parallel.h