Fix valgrind failure
Álvaro Herrera <alvherre@kurilemu.de>
Fix valgrind failure Buildfarm member skink reports that the new REPACK code is trying to write uninitialized bytes to disk, which correspond to padding space in the SerializedSnapshotData struct. Silence that by initializing the memory in SerializeSnapshot() to all zeroes. Co-authored-by: Srinath Reddy Sadipiralla <srinath2133@gmail.com> Co-authored-by: Álvaro Herrera <alvherre@kurilemu.de> Discussion: https://postgr.es/m/1976915.1775537087@sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/repack_worker.c | modified | +1 −1 |
| src/backend/utils/time/snapmgr.c | modified | +1 −1 |
Discussion
- Adding REPACK [concurrently] 409 messages · 2025-07-26 → 2026-07-01