Re: [PATCH] Add a few suppression rules for Valgrind
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Aleksander Alekseev <a.alekseev@postgrespro.ru>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2018-02-20T17:39:37Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.de> writes: >> I decided to run the code from master branch under Valgrind and >> discovered that it reports some errors. > On my systems I just include a global valgrind suppression file which > includes libc specific things and then the postgres valgrind.supp. I'm > very hesitant to add suppressions to the codebase for this, seems too > likely to actually hide bugs. Yeah, I think it's a much better idea to add a local suppression file for problems in your local libc or other libraries. That's what I do. Looking at mine, it also suppresses some weirdnesses in RHEL6's version of Perl, which would surely be inappropriate on other platforms. regards, tom lane
Commits
-
Add valgrind suppressions for wcsrtombs optimizations
- 41344896364c 9.4.21 landed
- f57b94d9d0bb 9.5.16 landed
- 71b2951ccc43 9.6.12 landed
- 5b16a353543e 10.7 landed
- bf070ce09e05 11.2 landed
- d3bbc4b96a5b 12.0 landed