Skip to content

Commit 18d67a8

Browse files
committed
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
1 parent a274bbb commit 18d67a8

File tree

6 files changed

+168
-116
lines changed

6 files changed

+168
-116
lines changed

src/backend/postmaster/launch_backend.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ static child_process_kind child_process_kinds[] = {
174174
[B_INVALID] = {"invalid", NULL, false},
175175

176176
[B_BACKEND] = {"backend", BackendMain, true},
177+
[B_DEAD_END_BACKEND] = {"dead-end backend", BackendMain, true},
177178
[B_AUTOVAC_LAUNCHER] = {"autovacuum launcher", AutoVacLauncherMain, true},
178179
[B_AUTOVAC_WORKER] = {"autovacuum worker", AutoVacWorkerMain, true},
179180
[B_BG_WORKER] = {"bgworker", BackgroundWorkerMain, true},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy