aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2016-03-08 19:21:28 -0800
committerAndres Freund <andres@anarazel.de>2016-03-08 19:40:58 -0800
commit5e43bee8307f1f6f87894c9a4bd9f9045f45c064 (patch)
tree11e86e18107d8b6516b5a7ca8422ce7f846e12a4
parent9e8b99420fe5f80495ada8dc50aeb7b954b33093 (diff)
downloadpostgresql-5e43bee8307f1f6f87894c9a4bd9f9045f45c064.tar.gz
postgresql-5e43bee8307f1f6f87894c9a4bd9f9045f45c064.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.supp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/tools/valgrind.supp b/src/tools/valgrind.supp
index db931949b37..710ae25b671 100644
--- a/src/tools/valgrind.supp
+++ b/src/tools/valgrind.supp
@@ -93,6 +93,33 @@
fun:EndPrepare
}
+{
+ padding_bootstrap_initial_xlog_write
+ Memcheck:Param
+ write(buf)
+
+ ...
+ fun:BootStrapXLOG
+}
+
+{
+ padding_bootstrap_control_file_write
+ Memcheck:Param
+ write(buf)
+
+ ...
+ 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