mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Simplify SignalSomeChildren(BACKEND_TYPE_ALL) to SignalChildren()
This commit is contained in:
parent
48da2b87e3
commit
16ca75baeb
@ -2974,7 +2974,7 @@ PostmasterStateMachine(void)
|
||||
pmState = PM_WAIT_DEAD_END;
|
||||
|
||||
/* Kill the walsenders, archiver and stats collector too */
|
||||
SignalSomeChildren(SIGQUIT, BACKEND_TYPE_ALL);
|
||||
SignalChildren(SIGQUIT);
|
||||
if (PgArchPID != 0)
|
||||
signal_child(PgArchPID, SIGQUIT);
|
||||
if (PgStatPID != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user