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

From 李海洋(陌痕)
Subject 回复:BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset
Date
Msg-id 873ca0f7-3856-494f-bf9d-25c530382bb6.mohen.lhy@alibaba-inc.com
Whole thread Raw
In response to Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 2025-09-08 20:46:10 Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Concretely, I'm thinking about the attached.  0001 is the same
> logic as in the v02 patch, but I felt we could make the code
> be shorter and prettier instead of longer and uglier.  That’s
> meant for back-patch, and then 0002 is for master only.


Yeah, v04-0001 and v04-0002 look good for me. 
Thanks for refining the patch.


Thanks
Haiyang Li


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset
Next
From: feichanghong
Date:
Subject: Re: BUG #19040: Memory leak in hashed subplan node due to missing hashtempcxt reset