Add valgrind suppression for padding bytes in twophase records.

Backpatch of 9a0a12f683.
This commit is contained in:
Andres Freund 2016-03-05 18:24:23 -08:00
parent 3b94b3a496
commit 61920837b5

View file

@ -75,6 +75,22 @@
fun:ReorderBufferSerializeTXN
}
{
padding_twophase_prepare
Memcheck:Param
write(buf)
...
fun:EndPrepare
}
{
padding_twophase_CRC
Memcheck:Value8
fun:EndPrepare
}
# gcc on ppc64 can generate a four-byte read to fetch the final "char" fields
# of a FormData_pg_cast. This is valid compiler behavior, because a proper