Re: Wrong assert in TransactionGroupUpdateXidStatus - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Wrong assert in TransactionGroupUpdateXidStatus
Date
Msg-id CA+TgmobvOCr4xD=dRQTSSj4qXDQkgvxGhuSeATcG4YNXzh4Lsw@mail.gmail.com
Whole thread Raw
In response to Re: Wrong assert in TransactionGroupUpdateXidStatus  (Amit Kapila <amit.kapila16@gmail.com>)
Responses Re: Wrong assert in TransactionGroupUpdateXidStatus
List pgsql-hackers
On Thu, Dec 12, 2019 at 9:23 PM Amit Kapila <amit.kapila16@gmail.com> wrote:
> Do you think we need such an Assert after having StaticAssert for
> (THRESHOLD_SUBTRANS_CLOG_OPT <= PGPROC_MAX_CACHED_SUBXIDS)  and then
> an if statement containing (nsubxids <= THRESHOLD_SUBTRANS_CLOG_OPT)
> just before this Assert?  Sure, we can keep this for extra safety, but
> I don't see the need for it.

I don't have strong feelings about it.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: pg_ls_tmpdir to show shared filesets
Next
From: Robert Haas
Date:
Subject: Re: allowing broader use of simplehash