Inconsistent usage of BACKEND_* symbols

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Inconsistent usage of BACKEND_* symbols
Date: 2019-09-30 07:39:59
Message-ID: 20190930.163959.100970012.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment Content-Type Size
Use_combined_backend_type_macros.patch text/x-patch 1.0 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-09-30 08:00:20 Re: Don't codegen deform code for virtual tuples in expr eval for scan fetch
Previous Message Andres Freund 2019-09-30 07:38:02 Re: Batch insert in CTAS/MatView code