pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy
Date
Msg-id E1mBj0b-0007ad-7y@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy
List 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@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(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Enable TAP tests of pg_receivewal for ZLIB on Windows, take thre
Next
From: Andres Freund
Date:
Subject: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.