pgsql: Minor refactoring of assign_backendlist_entry()

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Minor refactoring of assign_backendlist_entry()
Date: 2024-08-01 20:59:32
Message-ID: E1sZctY-002FGD-1x@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2024-08-01 22:51:27 pgsql: Skip citext_utf8 test on Windows.
Previous Message Michael Paquier 2024-08-01 19:51:21 pgsql: Switch PgStat_Kind from an enum to a uint32 type