Skip to content

Commit 5e43bee

Browse files
committed
Add valgrind suppressions for bootstrap related code.
Author: Andres Freund Backpatch: 9.4, where we started to maintain valgrind suppressions
1 parent 9e8b994 commit 5e43bee

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

src/tools/valgrind.supp

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,33 @@
9393
fun:EndPrepare
9494
}
9595

96+
{
97+
padding_bootstrap_initial_xlog_write
98+
Memcheck:Param
99+
write(buf)
100+
101+
...
102+
fun:BootStrapXLOG
103+
}
104+
105+
{
106+
padding_bootstrap_control_file_write
107+
Memcheck:Param
108+
write(buf)
109+
110+
...
111+
fun:WriteControlFile
112+
fun:BootStrapXLOG
113+
}
114+
115+
{
116+
bootstrap_write_relmap_overlap
117+
Memcheck:Overlap
118+
fun:memcpy*
119+
fun:write_relmap_file
120+
fun:RelationMapFinishBootstrap
121+
}
122+
96123

97124
# gcc on ppc64 can generate a four-byte read to fetch the final "char" fields
98125
# of a FormData_pg_cast. This is valid compiler behavior, because a proper

0 commit comments

Comments
 (0)