Re: parser_analyze freeing memory which is later referenced - Mailing list pgsql-hackers

From Tom Lane
Subject Re: parser_analyze freeing memory which is later referenced
Date
Msg-id 3151.1360630021@sss.pgh.pa.us
Whole thread Raw
In response to parser_analyze freeing memory which is later referenced  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: parser_analyze freeing memory which is later referenced
List pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> I'm using valgrind to find a problem with materialized views, and
> ran into this, which I have confirmed is present on the master
> branch as of 7803e9327db3788f68d820c19f4081afb79edd12.

> Memory freed here:
> ... is later referenced at these places:

[ squint... ]  Not sure I believe that, as building with
CLOBBER_FREED_MEMORY (ie, any assert-enabled build) really ought to
expose such problems pretty quickly.  What's your test case?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: palloc unification
Next
From: Craig Ringer
Date:
Subject: Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]