Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset
Date
Msg-id 1612097.1757535485@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset  (feichanghong <feichanghong@qq.com>)
List pgsql-bugs
feichanghong <feichanghong@qq.com> writes:
> Thanks for the analysis! v04-0002 looks fine to me — please just apply it on
> HEAD.

Done that way.

I thought a bit about your suggestion of adding some kind of
assertion check for memory leaks, but it looks too messy and
specialized as-is.  Maybe with reflection we can find a more
generic idea.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Richard Guo
Date:
Subject: Re: BUG #19046: Incorrect result when using json_array() with column reference in subquery combined with RIGHT JOIN
Next
From: Thomas Munro
Date:
Subject: Re: PostgreSQL fails to start inside Nix' darwin sandbox