diff options
author | Andres Freund <andres@anarazel.de> | 2016-03-05 18:24:23 -0800 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2016-03-05 18:24:23 -0800 |
commit | 61920837b595a8c2678bd422f34fd2f556c22965 (patch) | |
tree | 83e5808cfd6ec5ebdf33a506e14f3ac0ac2a5ce3 | |
parent | 3b94b3a496fd978ce481ba147627569bf7adc58f (diff) | |
download | postgresql-61920837b595a8c2678bd422f34fd2f556c22965.tar.gz postgresql-61920837b595a8c2678bd422f34fd2f556c22965.zip |
Add valgrind suppression for padding bytes in twophase records.
Backpatch of 9a0a12f683235d3e10b873baba974f6414297a7e.
-rw-r--r-- | src/tools/valgrind.supp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/valgrind.supp b/src/tools/valgrind.supp index 268957cdca4..91742d790bc 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 |