File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,6 @@ static void signal_child(pid_t pid, int signal);
357357static bool SignalSomeChildren (int signal , int targets );
358358
359359#define SignalChildren (sig ) SignalSomeChildren(sig, BACKEND_TYPE_ALL)
360- #define SignalAutovacWorkers (sig ) SignalSomeChildren(sig, BACKEND_TYPE_AUTOVAC)
361360
362361/*
363362 * Possible types of a backend. These are OR-able request flag bits
@@ -2179,7 +2178,7 @@ pmdie(SIGNAL_ARGS)
21792178 pmState == PM_HOT_STANDBY || pmState == PM_STARTUP )
21802179 {
21812180 /* autovacuum workers are told to shut down immediately */
2182- SignalAutovacWorkers (SIGTERM );
2181+ SignalSomeChildren (SIGTERM , BACKEND_TYPE_AUTOVAC );
21832182 /* and the autovac launcher too */
21842183 if (AutoVacPID != 0 )
21852184 signal_child (AutoVacPID , SIGTERM );
You can’t perform that action at this time.
0 commit comments