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: Replace postmaster.c's own backend type codes with BackendType
Date: Thu, 14 Nov 2024 14:13:15 +0000
Message-ID: <E1tBaaw-001mW7-Ko@gemulon.postgresql.org> (raw)

Replace postmaster.c's own backend type codes with BackendType

Introduce a separate BackendType for dead-end children, so that we
don't need a separate dead_end flag.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/a102f15f-eac4-4ff2-af02-f9ff209ec66f@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/18d67a8d7d30884655d65910b82781d9360819a6

Modified Files
--------------
src/backend/postmaster/launch_backend.c |   1 +
src/backend/postmaster/postmaster.c     | 235 ++++++++++++++++++--------------
src/backend/utils/activity/pgstat_io.c  |   3 +
src/backend/utils/init/miscinit.c       |  43 +++---
src/include/miscadmin.h                 |   1 +
src/tools/pgindent/typedefs.list        |   1 +
6 files changed, 168 insertions(+), 116 deletions(-)



Message-ID: <E1tBaaw-001mW7-Ko@gemulon.postgresql.org>
Permalink:  ../E1tBaaw-001mW7-Ko@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tBaaw-001mW7-Ko@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: Replace postmaster.c's own backend type codes with BackendType
  In-Reply-To: <E1tBaaw-001mW7-Ko@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