Add valgrind suppressions for bootstrap related code.

Author: Andres Freund
Backpatch: 9.4, where we started to maintain valgrind suppressions
pull/30/head
Andres Freund 10 years ago
parent 598a01de69
commit 9a5f1073f5
  1. 27
      src/tools/valgrind.supp

@ -93,6 +93,33 @@
fun:EndPrepare 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 # 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 # of a FormData_pg_cast. This is valid compiler behavior, because a proper

Loading…
Cancel
Save