Re: TRAP: FailedAssertion("tabstat->trans == trans", File: "pgstat_relation.c", Line: 508

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Michael Paquier <michael@paquier.xyz>
Cc: Erik Rijkers <er@xs4all.nl>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-05-12T03:32:14Z
Lists: pgsql-hackers
Hi,

On 2022-05-11 15:48:40 +0900, Michael Paquier wrote:
> On Mon, Apr 25, 2022 at 03:18:52PM +0900, Michael Paquier wrote:
> > On Wed, Apr 20, 2022 at 01:03:20PM +0200, Erik Rijkers wrote:
> >> Yes, that seems to fix it: I applied that latter patch, and ran my program
> >> 250x without errors. Then I removed it again an it gave the error within
> >> 15x.
> > 
> > That looks simple enough, indeed.  Andres, are you planning to address
> > this issue?
> 
> Ping.  It looks annoying to release beta1 with that, as assertions are
> likely going to be enabled in a lot of test builds.

I'll try to fix it tomorrow... Sorry for the delay.

Greetings,

Andres Freund



Commits

  1. Don't report stats in LogicalRepApplyLoop() when in xact.