]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix explicit valgrind interaction in read_stream.c.
authorThomas Munro <tmunro@postgresql.org>
Sat, 15 Feb 2025 00:13:19 +0000 (13:13 +1300)
committerThomas Munro <tmunro@postgresql.org>
Fri, 21 Feb 2025 02:16:37 +0000 (15:16 +1300)
commit57dca6faa9bdfd3c2ad2805fc088dc768d36fcf0
tree9932d516aa67a96de366ee6e14303ad52de9f550
parent29cce279bbc5919b8a85fb1ebc71d24395b2451b
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
src/backend/storage/aio/read_stream.c