pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy
Date: 2021-08-05 19:26:25
Message-ID: E1mBj0b-0007ad-7y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)anarazel(dot)de>
Reviewed-By: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Reviewed-By: Robert Haas <robertmhaas(at)gmail(dot)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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-08-05 19:36:30 pgsql: process startup: Centralize pgwin32_signal_initialize() calls.
Previous Message Andrew Dunstan 2021-08-05 15:49:01 Re: pgsql: Enable TAP tests of pg_receivewal for ZLIB on Windows, take thre