Re: valgrind vs. shared typmod registry
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-19T00:56:07Z
Lists: pgsql-hackers
Hi, On 2017-09-18 18:04:36 +1200, Thomas Munro wrote: > On Mon, Sep 18, 2017 at 5:39 PM, Thomas Munro > <thomas.munro@enterprisedb.com> wrote: > > Here is a patch to fix that. > > Here's a better one (same code, corrected commit message). Pushed. For a second I was tempted to also replace the palloc(sizeof(dshash_table)) with a palloc0 - but in the end it seems actually not too bad either to be able to catch bugs like this with some help. If you have a strong opinion either way... Thanks, Andres
Commits
-
Fix uninitialized variable in dshash.c.
- 0fb9e4ace5ce 11.0 landed