Re: Fix uninitialized xl_running_xacts padding

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Alexander Kuzmenkov <akuzmenkov@tigerdata.com>, Andres Freund <andres@anarazel.de>, Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, Thomas Munro <thomas.munro@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-22T06:50:06Z
Lists: pgsql-hackers
On Wed, Mar 18, 2026 at 02:18:45PM +0200, Heikki Linnakangas wrote:
> I think if you use "BEGIN; INSERT ...; ROLLBACK;" to generate the dead
> tuples instead of DELETE, it will not be sensitive to concurrent snapshots
> like that.

Nice trick, this makes the test stable.  I have reused it and applied
this part to take care of the coverage hole.
--
Michael

Commits

  1. Add test for single-page VACUUM of hash index on INSERT