Re: refcnt leak ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: refcnt leak ?
Date
Msg-id 15402.973794043@sss.pgh.pa.us
Whole thread Raw
In response to RE: refcnt leak ?  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> Oh no,my point isn't on this line but on the line
>       estate->es_result_relation_info = NULL;

Oh, I see --- this is mistakenly assuming that es_result_relation_info
*always* points at one of the Append's relations.  So there are actually
two rel-refcnt-leaking bugs here, this one and the lack of index close.

I've fixed both.  Thanks for the report!
        regards, tom lane


pgsql-hackers by date:

Previous
From: Don Baccus
Date:
Subject: Re: Question about reliability?
Next
From: "Kevin O'Gorman"
Date:
Subject: initdb failure