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);
357
357
static bool SignalSomeChildren (int signal , int targets );
358
358
359
359
#define SignalChildren (sig ) SignalSomeChildren(sig, BACKEND_TYPE_ALL)
360
- #define SignalAutovacWorkers (sig ) SignalSomeChildren(sig, BACKEND_TYPE_AUTOVAC)
361
360
362
361
/*
363
362
* Possible types of a backend. These are OR-able request flag bits
@@ -2179,7 +2178,7 @@ pmdie(SIGNAL_ARGS)
2179
2178
pmState == PM_HOT_STANDBY || pmState == PM_STARTUP )
2180
2179
{
2181
2180
/* autovacuum workers are told to shut down immediately */
2182
- SignalAutovacWorkers (SIGTERM );
2181
+ SignalSomeChildren (SIGTERM , BACKEND_TYPE_AUTOVAC );
2183
2182
/* and the autovac launcher too */
2184
2183
if (AutoVacPID != 0 )
2185
2184
signal_child (AutoVacPID , SIGTERM );
You can’t perform that action at this time.
0 commit comments