Re: Fixing memory leaks in postgres_fdw - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: Fixing memory leaks in postgres_fdw
Date
Msg-id CAPmGK17GKZkhZBp8PSbZ7zmWX9v-KBDBW7Fiq-PoP61TEtKd6A@mail.gmail.com
Whole thread Raw
In response to Re: Fixing memory leaks in postgres_fdw  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, May 30, 2025 at 2:02 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Finally, here's a minimalistic version of the original v1-0001
> patch that I think we could safely apply to fix the DirectModify
> problem in the back branches.  I rejiggered it to not depend on
> inventing MemoryContextUnregisterResetCallback, so that there's
> not hazards of minor-version skew between postgres_fdw and the
> main backend.

Seems reasonable.

Thanks for updating the patch (and pushing it in all supported versions)!

Best regards,
Etsuro Fujita



pgsql-hackers by date:

Previous
From: Daniil Davydov
Date:
Subject: Re: Speedup truncations of temporary relation forks
Next
From: Jelte Fennema-Nio
Date:
Subject: Commitfest app release at half June