pgsql: Fix explicit valgrind interaction in read_stream.c.
Started by Thomas Munroalmost 2 years ago1 messagescommitters
Stepping through
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: /messages/by-id/CA+hUKG+g6aXpi2FEHqeLOzE+xYw=OV+-N5jhOEnnV+F0USM9xA@mail.gmail.com
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/57dca6faa9bdfd3c2ad2805fc088dc768d36fcf0
Modified Files
--------------
src/backend/storage/aio/read_stream.c | 38 +++++++++++++++++++++++++++++------
1 file changed, 32 insertions(+), 6 deletions(-)