Use correct type for pq_mq_parallel_leader_proc_number variable

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 91651347bae1026afefc648ff939e286878c1cf3
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-07-15T08:12:22Z
Releases: 18.0
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

Files

PathChange+/−
src/backend/libpq/pqmq.c modified +1 −1

Discussion

Cited messages not in the archive: CA+hUKGKPTLSGMyE4Brin-osY8omPLNXmVWDMfrRABLp=6QrR_Q@mail.gmail.com