pgsql: Suppress some more valgrind whining about btree_gist.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress some more valgrind whining about btree_gist.
Date: 2014-05-16 19:29:06
Message-ID: E1WlNoY-0002xu-46@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress some more valgrind whining about btree_gist.

A couple of functions didn't bother to zero out pad bytes in datums that
would ultimately go to disk. Harmless, but valgrind doesn't know that.

Branch
------
master

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

Modified Files
--------------
contrib/btree_gist/btree_utils_var.c | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-16 20:51:34 pgsql: Make sure chr(int) can't create invalid UTF8 sequences.
Previous Message Tom Lane 2014-05-16 19:18:15 pgsql: Fix a second cause of undersized pallocs for btree_gist indexes