projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a64cb7
)
Add valgrind suppression for padding bytes in twophase records.
author
Andres Freund
<andres@anarazel.de>
Mon, 1 Sep 2014 10:19:00 +0000
(12:19 +0200)
committer
Andres Freund
<andres@anarazel.de>
Mon, 1 Sep 2014 13:59:44 +0000
(15:59 +0200)
src/tools/valgrind.supp
patch
|
blob
|
blame
|
history
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