Fix explicit valgrind interaction in read_stream.c.
Thomas Munro <tmunro@postgresql.org>
Fix explicit valgrind interaction in read_stream.c. This is a back-patch of commits 2a8a0067 and 2509b857 into REL_17_STABLE. It's doesn't fix any known live bug in PostgreSQL v17 itself, but an extension could in theory have used the per-buffer data feature and seen spurious errors under Valgrind. Discussion: https://postgr.es/m/CA%2BhUKG%2Bg6aXpi2FEHqeLOzE%2BxYw%3DOV%2B-N5jhOEnnV%2BF0USM9xA%40mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/aio/read_stream.c | modified | +32 −6 |
Discussion
- Confine vacuum skip logic to lazy_scan_skip 81 messages · 2023-12-31 → 2025-11-04