Replace PGPROC.isBackgroundWorker with isRegularBackend.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 508a97ee4984597ea60c383f52adefd47178189f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-12-28T21:21:54Z
Releases: 18.0
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

Files

Discussion