Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit18d67a8

Browse files
committed
Replace postmaster.c's own backend type codes with BackendType
Introduce a separate BackendType for dead-end children, so that wedon'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 parenta274bbb commit18d67a8

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)

[8]ページ先頭

©2009-2025 Movatter.jp