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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Erik Rijkers <er@xs4all.nl>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, andres@anarazel.de, pgsql-hackers@lists.postgresql.org
Date: 2022-04-25T06:18:52Z
Lists: pgsql-hackers
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?
--
Michael

Commits

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