mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Replace postmaster.c's own backend type codes with BackendType
Introduce a separate BackendType for dead-end children, so that we don't need a separate dead_end flag. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://www.postgresql.org/message-id/a102f15f-eac4-4ff2-af02-f9ff209ec66f@iki.fi
This commit is contained in:
@ -333,6 +333,7 @@ typedef enum BackendType
|
||||
|
||||
/* Backends and other backend-like processes */
|
||||
B_BACKEND,
|
||||
B_DEAD_END_BACKEND,
|
||||
B_AUTOVAC_LAUNCHER,
|
||||
B_AUTOVAC_WORKER,
|
||||
B_BG_WORKER,
|
||||
|
Reference in New Issue
Block a user