git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5a64cb7)
Add valgrind suppression for padding bytes in twophase records.
Mon, 1 Sep 2014 10:19:00 +0000 (12:19 +0200)
Mon, 1 Sep 2014 13:59:44 +0000 (15:59 +0200)

diff --git a/src/tools/valgrind.supp b/src/tools/valgrind.supp
index 268957cdca446d2105b398ee66a8ac0edaedd423..91742d790bce6c0e8cfaccd0822875cfd5ca82d3 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /