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.1735156...@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(-)