On Tue, Feb 6, 2018 at 8:05 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I like the option of doing VALGRIND_MAKE_MEM_DEFINED on the tail
> portion of the buffer before writing it. That seems pretty tightly
> tied to the behavior we're decreeing valid, whereas the suppression
> is not.
I think that the suppression is actually slightly better scoped than
that, since, for example, that won't just affect writes of
uninitialized bytes from the buffer. But I'll do it that way.
--
Peter Geoghegan