mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +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:
@@ -32,7 +32,7 @@ extern Form_pg_attribute attrtypes[MAXATTR];
|
||||
extern int numattr;
|
||||
|
||||
|
||||
extern void BootstrapModeMain(int argc, char *argv[]) pg_attribute_noreturn();
|
||||
extern void BootstrapModeMain(int argc, char *argv[], bool check_only) pg_attribute_noreturn();
|
||||
|
||||
extern void closerel(char *name);
|
||||
extern void boot_openrel(char *name);
|
||||
|
||||
Reference in New Issue
Block a user