Content-Length: 285010 | pFad | http://github.com/postgrespro/postgres/commit/18d67a8d7d30884655d65910b82781d9360819a6

2B Replace postmaster.c's own backend type codes with BackendType · postgrespro/postgres@18d67a8 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/18d67a8d7d30884655d65910b82781d9360819a6

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy