diff options
author | Andres Freund <andres@anarazel.de> | 2016-03-08 19:21:28 -0800 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2016-03-08 19:40:59 -0800 |
commit | 6416b1d422e588b0064d09e6a201d184b70638c1 (patch) | |
tree | 94be7866e2c198f40ba96770a954b7aefb551264 | |
parent | 8457c69feaf572a2d3025e47b6bed92bb8cb719b (diff) | |
download | postgresql-6416b1d422e588b0064d09e6a201d184b70638c1.tar.gz postgresql-6416b1d422e588b0064d09e6a201d184b70638c1.zip |
Add valgrind suppressions for bootstrap related code.
Author: Andres Freund
Backpatch: 9.4, where we started to maintain valgrind suppressions
-rw-r--r-- | src/tools/valgrind.supp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/tools/valgrind.supp b/src/tools/valgrind.supp index 91742d790bc..0e62782248f 100644 --- a/src/tools/valgrind.supp +++ b/src/tools/valgrind.supp @@ -92,6 +92,48 @@ } +{ + padding_bootstrap_initial_xlog_write + Memcheck:Param + write(buf) + + ... + fun:BootStrapXLOG +} + +{ + padding_bootstrap_initial_xlog_CRC + Memcheck:Value8 + fun:BootStrapXLOG + fun:AuxiliaryProcessMain +} + +{ + padding_bootstrap_control_file_write + Memcheck:Param + write(buf) + + ... + fun:WriteControlFile + fun:BootStrapXLOG +} + +{ + padding_bootstrap_control_file_CRC + Memcheck:Value8 + fun:WriteControlFile + fun:BootStrapXLOG +} + +{ + bootstrap_write_relmap_overlap + Memcheck:Overlap + fun:memcpy* + fun:write_relmap_file + fun:RelationMapFinishBootstrap +} + + # 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 # FormData_pg_cast has trailing padding. Tuples we treat as structures omit |