Re: Valgrind warnings in master branch ("Invalid read of size 8") originating within CreatePolicy() - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Valgrind warnings in master branch ("Invalid read of size 8") originating within CreatePolicy()
Date
Msg-id 20140930174911.GA28859@tamriel.snowman.net
Whole thread Raw
In response to Valgrind warnings in master branch ("Invalid read of size 8") originating within CreatePolicy()  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
Peter,

* Peter Geoghegan (pg@heroku.com) wrote:
> I see the following Valgrind warnings in a recent build of the master branch:
[...]
> This appears a few times, but always seems to occur with the same call stack.

Many thanks, I've worked out the issue (rsecpolname needs to be filled
in with the results of calling DirectFunctionCall1(namein,
CStringGetDatum()) instead, or we can end up with garbage past the \0
in that fixed-width NameData field).

Will fix, thanks again!
Stephen

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}
Next
From: Gregory Smith
Date:
Subject: Re: open items for 9.4