Re: Fix uninitialized xl_running_xacts padding
Alexander Kuzmenkov <akuzmenkov@tigerdata.com>
From: Alexander Kuzmenkov <akuzmenkov@tigerdata.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Andres Freund <andres@anarazel.de>,
Anthonin Bonnefoy <anthonin.bonnefoy@datadoghq.com>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>,
Michael Paquier <michael@paquier.xyz>, Thomas Munro <thomas.munro@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-03-16T16:14:10Z
Lists: pgsql-hackers
Attachments
- initialize-wal-structs-with-padding-only.patch (text/x-patch) patch
- hash-vacuum-one-page-test.patch (text/x-patch) patch
I have removed the unnecessary memsets (for structs with no padding). With these changes, and removing the two WAL-related suppressions, the make installcheck under Valgrind passes. The second patch is a small addition to the hash index test that exercises the "vacuum one page" path we discussed above.
Commits
-
Add test for single-page VACUUM of hash index on INSERT
- 1f7947a48d0c 19 (unreleased) landed