Re: Inconsistent usage of BACKEND_* symbols

2019-10-02 Thread Michael Paquier
On Mon, Sep 30, 2019 at 04:39:59PM +0900, Kyotaro Horiguchi wrote: > @@ -2740,8 +2740,8 @@ pmdie(SIGNAL_ARGS) > { > /* autovac workers are told to shut down immediately */ > /* and bgworkers too; does this need tweaking? */ > -SignalSomeChildren(SIGTER

Inconsistent usage of BACKEND_* symbols

2019-09-30 Thread Kyotaro Horiguchi
Hello. While I looked around shutdown sequence, pmdie() uses "BACKEND_TYPE_AUTOVAC | BACKEND_TYPE_BGWORKER" for sending signal and PostmasterStateMachine counts them using BACKEND_TYPE_WORKER. It is the only usage of the combined one. It seems to me just a leftover of da07a1e856. regards. -- Ky