aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonb.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-05-07 22:30:05 +0200
committerAndres Freund <andres@anarazel.de>2014-05-24 17:34:22 +0200
commit0564bbe7a1690f025f4424d5a12cb6af9d428c48 (patch)
treedee8bdec33bfae9690ea89564d9d2c1d2afdd0dc /src/backend/utils/adt/jsonb.c
parent37828e87aec2eb0c15655d4ad753644be851e59f (diff)
downloadpostgresql-0564bbe7a1690f025f4424d5a12cb6af9d428c48.tar.gz
postgresql-0564bbe7a1690f025f4424d5a12cb6af9d428c48.zip
Silence a couple of spurious valgrind warnings in inval.c.
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.
Diffstat (limited to 'src/backend/utils/adt/jsonb.c')
0 files changed, 0 insertions, 0 deletions