mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
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
This commit is contained in:
@@ -142,11 +142,6 @@ AuxiliaryProcessMain(AuxProcType auxtype)
|
||||
|
||||
switch (MyAuxProcType)
|
||||
{
|
||||
case CheckerProcess:
|
||||
case BootstrapProcess:
|
||||
pg_unreachable();
|
||||
break;
|
||||
|
||||
case StartupProcess:
|
||||
StartupProcessMain();
|
||||
proc_exit(1);
|
||||
|
||||
Reference in New Issue
Block a user