pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy
Date: Thu, 05 Aug 2021 19:26:25 +0000
Message-ID: <E1mBj0b-0007ad-7y@gemulon.postgresql.org> (raw)

process startup: Remove bootstrap / checker modes from AuxProcType.

Neither is actually initialized as an auxiliary process, so it does not really
make sense to reserve a PGPROC etc for them.

This keeps checker mode implemented by exiting partway through bootstrap
mode. That might be worth changing at some point, perhaps if we ever extend
checker mode to be a more general tool.

Author: Andres Freund <andres@anarazel.de>
Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-By: Robert Haas <robertmhaas@gmail.com>
Discussion: https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f8dd4ecb0b7fc3420e199021375e622815cd326f

Modified Files
--------------
src/backend/bootstrap/bootstrap.c   | 29 +++++++++++------------------
src/backend/main/main.c             |  8 +++++---
src/backend/postmaster/auxprocess.c |  5 -----
src/bin/initdb/initdb.c             |  6 +++---
src/include/bootstrap/bootstrap.h   |  2 +-
src/include/miscadmin.h             |  5 +----
6 files changed, 21 insertions(+), 34 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1mBj0b-0007ad-7y@gemulon.postgresql.org>
Permalink:  ../E1mBj0b-0007ad-7y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mBj0b-0007ad-7y@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy
  In-Reply-To: <E1mBj0b-0007ad-7y@gemulon.postgresql.org>
  References: <E1mBj0b-0007ad-7y@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