pgsql: Add valgrind suppressions for python code.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add valgrind suppressions for python code.
Date: 2016-03-09 03:42:33
Message-ID: E1adV17-000405-Q3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2f1f4439306d2793492e49366d5911e48aa2c4b1

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2016-03-09 03:42:35 pgsql: Add valgrind suppressions for python code.
Previous Message Tom Lane 2016-03-09 03:32:20 pgsql: Improve handling of group-column indexes in GroupingSetsPath.