Use correct type for pq_mq_parallel_leader_proc_number variable
authorHeikki Linnakangas
Mon, 15 Jul 2024 08:12:22 +0000 (11:12 +0300)
committerHeikki Linnakangas
Mon, 15 Jul 2024 08:12:22 +0000 (11:12 +0300)
commit91651347bae1026afefc648ff939e286878c1cf3
treee5301d21fc1f9ac49e5060f125c57614e456cb3b
parent86db52a5062a77c6ee533586be2cef8672a20c7d
Use correct type for pq_mq_parallel_leader_proc_number variable

It's a ProcNumber, not a process id. Both are integers, so it's
harmless, but clearly wrong. It's been wrong since forever, the
mistake has survived through a couple of refactorings already.

Spotted-by: Thomas Munro
Discussion: https://www.postgresql.org/message-id/CA+hUKGKPTLSGMyE4Brin-osY8omPLNXmVWDMfrRABLp=6QrR_Q@mail.gmail.com
src/backend/libpq/pqmq.c