Re: pgsql: Replace BackendIds with 0-based ProcNumbers

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Replace BackendIds with 0-based ProcNumbers
Date: 2025-01-01 21:57:23
Message-ID: 7d8d5d1c-f8bd-4570-9db9-90ca5e15b6ec@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-01-01 23:42:22 pgsql: Fix an assortment of spelling mistakes and typos
Previous Message Bruce Momjian 2025-01-01 16:22:36 pgsql: Update copyright for 2025