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

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, 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:49:33
Message-ID: fe8816ee-01ca-e5fc-9c59-6f4266b78d88@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021/07/15 11:21, Michael Paquier wrote:
> 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.

Good catch, Thanks!

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message houzj.fnst@fujitsu.com 2021-07-15 02:51:02 RE: Avoid repeated PQfnumber() in pg_dump
Previous Message Greg Nancarrow 2021-07-15 02:34:47 Re: Parallel scan with SubTransGetTopmostTransaction assert coredump