1 # This is a suppression file for use with Valgrind tools. File format
3 # http://valgrind.org/docs/manual/mc-manual.html#mc-manual.suppfiles
5 # The libc symbol that implements a particular standard interface is
6 # implementation-dependent. For example, strncpy() shows up as "__GI_strncpy"
7 # on some platforms. Use wildcards to avoid mentioning such specific names.
8 # Avoid mentioning functions that are good candidates for inlining,
9 # particularly single-caller static functions. Suppressions mentioning them
10 # would be ineffective at higher optimization levels.
13 # We have occasion to write raw binary structures to disk or to the network.
14 # These may contain uninitialized padding bytes. Since recipients also ignore
15 # those bytes as padding, this is harmless.
23 fun:pgstat_write_statsfiles
27 padding_XLogRecData_CRC
31 fun:XLogRecordAssemble
35 padding_XLogRecData_write
49 fun:write_relcache_init_file
53 padding_reorderbuffer_serialize
58 fun:ReorderBufferSerializeTXN
62 padding_twophase_prepare
79 padding_bootstrap_initial_xlog_write
88 padding_bootstrap_control_file_write
98 bootstrap_write_relmap_overlap
101 fun:write_relmap_file
102 fun:RelationMapFinishBootstrap
106 # gcc on ppc64 can generate a four-byte read to fetch the final "char" fields
107 # of a FormData_pg_cast. This is valid compiler behavior, because a proper
108 # FormData_pg_cast has trailing padding. Tuples we treat as structures omit
109 # that padding, so Valgrind reports an invalid read. Practical trouble would
110 # entail the missing pad bytes falling in a different memory page. So long as
111 # the structure is aligned, that will not happen.
113 overread_tuplestruct_pg_cast
116 fun:IsBinaryCoercibleWithCast
119 # Python's allocator does some low-level tricks for efficiency. Those
120 # can be disabled for better instrumentation; but few people testing
121 # postgres will have such a build of python. So add broad
122 # suppressions of the resulting errors.
123 # See also https://svn.python.org/projects/python/trunk/Misc/README.valgrind
125 python_clever_allocator
131 python_clever_allocator
137 python_clever_allocator
143 python_clever_allocator
149 python_clever_allocator
155 python_clever_allocator
161 python_clever_allocator
167 python_clever_allocator
173 python_clever_allocator
179 python_clever_allocator