pgsql: Replace PGPROC.isBackgroundWorker with isRegularBackend. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Replace PGPROC.isBackgroundWorker with isRegularBackend.
Date
Msg-id E1tReFz-001qSI-Kx@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Replace PGPROC.isBackgroundWorker with isRegularBackend.

Commit 34486b609 effectively redefined isBackgroundWorker as meaning
"not a regular backend", whereas before it had the narrower
meaning of AmBackgroundWorkerProcess().  For clarity, rename the
field to isRegularBackend and invert its sense.

Discussion: https://postgr.es/m/1808397.1735156190@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/508a97ee4984597ea60c383f52adefd47178189f

Modified Files
--------------
src/backend/access/transam/twophase.c | 2 +-
src/backend/storage/ipc/procarray.c   | 8 ++++----
src/backend/storage/lmgr/proc.c       | 4 ++--
src/include/storage/proc.h            | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Exclude parallel workers from connection privilege/limit checks.
Next
From: David Rowley
Date:
Subject: pgsql: Fix overly large values/nulls arrays