Re: Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine
Date
Msg-id YO+bt7e8JFmKCMVz@paquier.xyz
Whole thread Raw
In response to Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine
List pgsql-hackers
On Wed, Jul 14, 2021 at 11:38:59PM +0530, Bharath Rupireddy wrote:
> It looks like the commit d75288fb [1] added an unnecessary
> Assert(PgArchPID == 0); in PostmasterStateMachine as the if block code
> gets hit only when PgArchPID == 0. PSA small patch.

Agreed that there is no need to keep that around.  Will fix.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Using a stock openssl BIO
Next
From: Julien Rouhaud
Date:
Subject: Re: [HACKERS] Preserving param location