Replace postmaster.c's own backend type codes with BackendType
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/launch_backend.c | modified | +1 −0 |
| src/backend/postmaster/postmaster.c | modified | +136 −99 |
| src/backend/utils/activity/pgstat_io.c | modified | +3 −0 |
| src/backend/utils/init/miscinit.c | modified | +26 −17 |
| src/include/miscadmin.h | modified | +1 −0 |
| src/tools/pgindent/typedefs.list | modified | +1 −0 |
Discussion
- Refactoring postmaster's code to cleanup after child exit 47 messages · 2024-07-06 → 2026-07-07