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