On 29/12/2024 19:43, Peter Eisentraut wrote:
On 03.03.24 18:39, Heikki Linnakangas wrote:
Replace BackendIds with 0-based ProcNumbers
There are a couple of declarations that are duplicated between src/
include/storage/proc.h and src/include/storage/procnumber.h, such as
MyProcNumber, Paralle
On 03.03.24 18:39, Heikki Linnakangas wrote:
Replace BackendIds with 0-based ProcNumbers
There are a couple of declarations that are duplicated between
src/include/storage/proc.h and src/include/storage/procnumber.h, such as
MyProcNumber, ParallelLeaderProcNumber, and
ProcNumberForTempRelati
On 09/07/2024 21:10, Thomas Munro wrote:
--- a/src/backend/libpq/pqmq.c
+++ b/src/backend/libpq/pqmq.c
@@ -26,7 +26,7 @@
static shm_mq_handle *pq_mq_handle;
static bool pq_mq_busy = false;
static pid_t pq_mq_parallel_leader_pid = 0;
-static pid_t pq_mq_parallel_leader_backend_id = InvalidBa
--- a/src/backend/libpq/pqmq.c
+++ b/src/backend/libpq/pqmq.c
@@ -26,7 +26,7 @@
static shm_mq_handle *pq_mq_handle;
static bool pq_mq_busy = false;
static pid_t pq_mq_parallel_leader_pid = 0;
-static pid_t pq_mq_parallel_leader_backend_id = InvalidBackendId;
+static pid_t pq_mq_parallel_leader_p
Replace BackendIds with 0-based ProcNumbers
Now that BackendId was just another index into the proc array, it was
redundant with the 0-based proc numbers used in other places. Replace
all usage of backend IDs with proc numbers.
The only place where the term "backend id" remains is in a few pgstat