Thread: pgsql: Replace postmaster.c's own backend type codes with BackendType

pgsql: Replace postmaster.c's own backend type codes with BackendType

From
Heikki Linnakangas
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/18d67a8d7d30884655d65910b82781d9360819a6

Modified Files
--------------
src/backend/postmaster/launch_backend.c |   1 +
src/backend/postmaster/postmaster.c     | 235 ++++++++++++++++++--------------
src/backend/utils/activity/pgstat_io.c  |   3 +
src/backend/utils/init/miscinit.c       |  43 +++---
src/include/miscadmin.h                 |   1 +
src/tools/pgindent/typedefs.list        |   1 +
6 files changed, 168 insertions(+), 116 deletions(-)