pgsql: Add valgrind suppressions for python code. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add valgrind suppressions for python code.
Date
Msg-id E1adV19-00040c-Ci@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fd1cf9d8407589fae354e1a5b852f33eedc7f67f

Modified Files
--------------
src/tools/valgrind.supp | 66 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 66 insertions(+)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Add valgrind suppressions for bootstrap related code.
Next
From: Andres Freund
Date:
Subject: pgsql: Add valgrind suppressions for python code.