Add valgrind suppressions for python code.
authorAndres Freund <[email protected]>
Wed, 9 Mar 2016 01:34:09 +0000 (17:34 -0800)
committerAndres Freund <[email protected]>
Wed, 9 Mar 2016 03:40:59 +0000 (19:40 -0800)
commitfd1cf9d8407589fae354e1a5b852f33eedc7f67f
treea4f35a6b2561c366a502d49e654a5b14bae94465
parent9a5f1073f52bbcf81793dbbcc22c04c4364f490f
Add valgrind suppressions for python code.

Python's allocator does some low-level tricks for efficiency;
unfortunately they trigger valgrind errors. Those tricks can be disabled
making instrumentation easier; but few people testing postgres will have
such a build of python. So add broad suppressions of the resulting
errors.

See also https://svn.python.org/projects/python/trunk/Misc/README.valgrind

This possibly will suppress valid errors, but without it it's basically
impossible to use valgrind with plpython code.

Author: Andres Freund
Backpatch: 9.4, where we started to maintain valgrind suppressions
src/tools/valgrind.supp