mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Simplify SignalSomeChildren(BACKEND_TYPE_ALL) to SignalChildren()
This commit is contained in:
@ -2974,7 +2974,7 @@ PostmasterStateMachine(void)
|
|||||||
pmState = PM_WAIT_DEAD_END;
|
pmState = PM_WAIT_DEAD_END;
|
||||||
|
|
||||||
/* Kill the walsenders, archiver and stats collector too */
|
/* Kill the walsenders, archiver and stats collector too */
|
||||||
SignalSomeChildren(SIGQUIT, BACKEND_TYPE_ALL);
|
SignalChildren(SIGQUIT);
|
||||||
if (PgArchPID != 0)
|
if (PgArchPID != 0)
|
||||||
signal_child(PgArchPID, SIGQUIT);
|
signal_child(PgArchPID, SIGQUIT);
|
||||||
if (PgStatPID != 0)
|
if (PgStatPID != 0)
|
||||||
|
Reference in New Issue
Block a user