pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Minor refactoring of assign_backendlist_entry()
Date: Thu, 01 Aug 2024 20:59:32 +0000
Message-ID: <E1sZctY-002FGD-1x@gemulon.postgresql.org> (raw)

Minor refactoring of assign_backendlist_entry()

Make assign_backendlist_entry() responsible just for allocating the
Backend struct. Linking it to the RegisteredBgWorker is the caller's
responsibility now. Seems more clear that way.

Discussion: https://www.postgresql.org/message-id/835232c0-a5f7-4f20-b95b-5b56ba57d741@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/63bef4df975cd8b0a3fee1384a80c569043a6d72

Modified Files
--------------
src/backend/postmaster/postmaster.c | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)



Message-ID: <E1sZctY-002FGD-1x@gemulon.postgresql.org>
Permalink:  ../E1sZctY-002FGD-1x@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sZctY-002FGD-1x@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: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Minor refactoring of assign_backendlist_entry()
  In-Reply-To: <E1sZctY-002FGD-1x@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