Re: pgsql: Replace BackendIds with 0-based ProcNumbers - Mailing list pgsql-committers

From Heikki Linnakangas
Subject Re: pgsql: Replace BackendIds with 0-based ProcNumbers
Date
Msg-id 7d8d5d1c-f8bd-4570-9db9-90ca5e15b6ec@iki.fi
Whole thread Raw
In response to Re: pgsql: Replace BackendIds with 0-based ProcNumbers  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-committers
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, ParallelLeaderProcNumber, and 
> ProcNumberForTempRelations().  Is that intentional, or should that be 
> fixed?

It was not intentional. At quick glance, I think we should keep the 
declarations in procnumber.h and remove the duplicates from proc.h. I 
will do that next week when I'm back from vacation. Or feel free to do 
it yourself before that if you want. Thanks for noticing!

- Heikki




pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Update copyright for 2025
Next
From: David Rowley
Date:
Subject: pgsql: Fix an assortment of spelling mistakes and typos