Add backendType to PGPROC, replacing isRegularBackend - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Add backendType to PGPROC, replacing isRegularBackend
Date
Msg-id b77e4962-a64a-43db-81a1-580444b3e8f5@iki.fi
Whole thread Raw
Responses Re: Add backendType to PGPROC, replacing isRegularBackend
List pgsql-hackers
I propose a little refactoring, attached, to replace the 
"isRegularBackend" field in PGPROC with full "backendType".

Andres briefly suggested this a while back [1]:

On Fri, 22 Nov 2024 at 22:13, Andres Freund <andres(at)anarazel(dot)de> 
wrote:
> Or we could have a copy of the backend type in PGPROC.

but we didn't follow up on that approach. I don't see why, it seems so 
much simpler than what we ended up doing. Am I missing something?

[1] 
https://www.postgresql.org/message-id/ujenaa2uabzfkwxwmfifawzdozh3ljr7geozlhftsuosgm7n7q%40g3utqqyyosb6

- Heikki

Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: refactor architecture-specific popcount code
Next
From: Nathan Bossart
Date:
Subject: Re: Add backendType to PGPROC, replacing isRegularBackend