Add valgrind suppression for padding bytes in twophase records.
authorAndres Freund <andres@anarazel.de>
Sun, 6 Mar 2016 02:24:23 +0000 (18:24 -0800)
committerAndres Freund <andres@anarazel.de>
Sun, 6 Mar 2016 02:24:23 +0000 (18:24 -0800)
Backpatch of 9a0a12f683235d3e10b873baba974f6414297a7e.

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