Re: Remove extra Logging_collector check before calling SysLogger_Start() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Remove extra Logging_collector check before calling SysLogger_Start()
Date
Msg-id YawMqX8JjZJ1AEiw@paquier.xyz
Whole thread Raw
In response to Remove extra Logging_collector check before calling SysLogger_Start()  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
List pgsql-hackers
On Fri, Dec 03, 2021 at 12:45:34PM -0500, Tom Lane wrote:
> I think it's fine as-is; good belt-and-suspenders-too programming.
> It's not like the extra check inside SysLogger_Start() is costly.

+1.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: RecoveryInProgress() has critical side effects
Next
From: Michael Paquier
Date:
Subject: Re: Do sys logger and stats collector need wait events WAIT_EVENT_SYSLOGGER_MAIN/_PGSTAT_MAIN?