Re: Andres Freund
> Hm, that could just be a "harmless" race. Does it still happen if you apply
> the attached patch in addition?
> diff --git i/src/backend/utils/activity/pgstat_database.c w/src/backend/utils/activity/pgstat_database.c
Debian is still carrying that patch around. Did we ever get to any
conclusion on that issue?
https://salsa.debian.org/postgresql/postgresql/-/blob/18/debian/patches/pgstat-report-conflicts-immediately.patch?ref_type=heads
Christoph