Add valgrind suppression for padding bytes in twophase records.
authorAndres Freund <andres@anarazel.de>
Mon, 1 Sep 2014 10:19:00 +0000 (12:19 +0200)
committerAndres Freund <andres@anarazel.de>
Mon, 1 Sep 2014 13:59:44 +0000 (15:59 +0200)
src/tools/valgrind.supp

index 268957cdca446d2105b398ee66a8ac0edaedd423..91742d790bce6c0e8cfaccd0822875cfd5ca82d3 100644 (file)
    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