From 9a0a12f683235d3e10b873baba974f6414297a7e Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Mon, 1 Sep 2014 12:19:00 +0200 Subject: [PATCH] Add valgrind suppression for padding bytes in twophase records. --- src/tools/valgrind.supp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/tools/valgrind.supp b/src/tools/valgrind.supp index 268957cdca..91742d790b 100644 --- a/src/tools/valgrind.supp +++ b/src/tools/valgrind.supp @@ -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