Replace PGPROC.isBackgroundWorker with isRegularBackend.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/twophase.c | modified | +1 −1 |
| src/backend/storage/ipc/procarray.c | modified | +4 −4 |
| src/backend/storage/lmgr/proc.c | modified | +2 −2 |
| src/include/storage/proc.h | modified | +2 −2 |
Discussion
- Connection limits/permissions, slotsync workers, etc 6 messages · 2024-12-25 → 2024-12-28