• Andres Freund's avatar
    Silence a couple of spurious valgrind warnings in inval.c. · 0564bbe7
    Andres Freund authored
    Define padding bytes in SharedInvalidationMessage structs to be
    defined. Otherwise the sinvaladt.c ringbuffer, which is accessed by
    multiple processes, will cause spurious valgrind warnings about
    undefined memory being used. That's because valgrind remembers the
    undefined bytes from the last local process's store, not realizing
    that another process has written since, filling the previously
    uninitialized bytes.
    0564bbe7
inval.c 42.6 KB