Add valgrind suppressions for bootstrap related code.
authorAndres Freund <andres@anarazel.de>
Wed, 9 Mar 2016 03:21:28 +0000 (19:21 -0800)
committerAndres Freund <andres@anarazel.de>
Wed, 9 Mar 2016 03:40:58 +0000 (19:40 -0800)
Author: Andres Freund
Backpatch: 9.4, where we started to maintain valgrind suppressions

src/tools/valgrind.supp

index db931949b3789aaf41d93c919cf255da0ccdcfc1..710ae25b671a32240b200914b4c27977fc75158b 100644 (file)
    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