pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Replace PGPROC.isBackgroundWorker with isRegularBackend.
Date: Sat, 28 Dec 2024 21:22:00 +0000
Message-ID: <E1tReFz-001qSI-Kx@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1tReFz-001qSI-Kx@gemulon.postgresql.org>
Permalink:  ../E1tReFz-001qSI-Kx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tReFz-001qSI-Kx@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Replace PGPROC.isBackgroundWorker with isRegularBackend.
  In-Reply-To: <E1tReFz-001qSI-Kx@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox