Re: Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Remove redundant Assert(PgArchPID == 0); in PostmasterStateMachine
Date: 2021-07-15 02:21:43
Message-ID: YO+bt7e8JFmKCMVz@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2021-07-15 02:28:41 Re: [HACKERS] Preserving param location
Previous Message Andres Freund 2021-07-15 02:17:47 Using a stock openssl BIO