process startup: Remove bootstrap / checker modes from AuxProcType.
authorAndres Freund <andres@anarazel.de>
Thu, 5 Aug 2021 19:17:31 +0000 (12:17 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 5 Aug 2021 19:18:15 +0000 (12:18 -0700)
commitf8dd4ecb0b7fc3420e199021375e622815cd326f
treeca13c83c356607ceb7f21c7d006bf43ca9cf947e
parent0a692109dcc73178962069addf7478ac89950e4d
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
src/backend/bootstrap/bootstrap.c
src/backend/main/main.c
src/backend/postmaster/auxprocess.c
src/bin/initdb/initdb.c
src/include/bootstrap/bootstrap.h
src/include/miscadmin.h