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

Erik Rijkers <er@xs4all.nl>

From: Erik Rijkers <er@xs4all.nl>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-04-16T07:37:55Z
Lists: pgsql-hackers

Attachments

Hi,

I get this crash running the attached test program. On my slow-disked 
and old desktop it occurs once in 20 or so runs (it is yet another 
installment of an old test that runs pgbench with logical replication).

15devel compiled from d3609dd25.

(The bash deletes stuff, and without my environment it will need some 
tweaking)

Thanks,

Erik Rijkers



Commits

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