Add valgrind suppression for padding bytes in twophase records.

This commit is contained in:
Andres Freund 2014-09-01 12:19:00 +02:00
parent 5a64cb740d
commit 9a0a12f683
1 changed files with 16 additions and 0 deletions

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