pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Etsuro Fujita <etsuro.fujita@gmail.com>
Cc: Matheus Alcantara <matheusssilv97@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Fixing memory leaks in postgres_fdw
Date: Fri, 25 Jul 2025 16:49:52 -0400
Message-ID: <2223527.1753476592@sss.pgh.pa.us> (raw)
In-Reply-To: <CAPmGK17GKZkhZBp8PSbZ7zmWX9v-KBDBW7Fiq-PoP61TEtKd6A@mail.gmail.com>
References: <2976982.1748049023@sss.pgh.pa.us>
	<CAPmGK17iOh6W25UswGcn5k75jEukSgLMpiaJEATcAZQTec7xxg@mail.gmail.com>
	<216286.1748202797@sss.pgh.pa.us>
	<519144.1748217540@sss.pgh.pa.us>
	<918254.1748288174@sss.pgh.pa.us>
	<CAFY6G8fEa9sZ1V9cJpMOZAp6Wfa35U_rE0Y=eoQLS2G3OAqiAw@mail.gmail.com>
	<1346940.1748381911@sss.pgh.pa.us>
	<1696019.1748465792@sss.pgh.pa.us>
	<CAFY6G8fY=e8n1K=sHuXovgxEgRqN1Df5db230uF1KtffvWUT-Q@mail.gmail.com>
	<1876117.1748524672@sss.pgh.pa.us>
	<2017375.1748530785@sss.pgh.pa.us>
	<2082618.1748538159@sss.pgh.pa.us>
	<CAPmGK17GKZkhZBp8PSbZ7zmWX9v-KBDBW7Fiq-PoP61TEtKd6A@mail.gmail.com>

Etsuro Fujita <etsuro.fujita@gmail.com> writes:
> 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.

Pushed the larger patchset now.  I had to do a little more work
to get it to play with 112faf137, but it wasn't hard.

			regards, tom lane





view thread (17+ messages)  latest in thread

Message-ID: <2223527.1753476592@sss.pgh.pa.us>
Permalink:  ../2223527.1753476592@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2223527.1753476592@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, etsuro.fujita@gmail.com, matheusssilv97@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Fixing memory leaks in postgres_fdw
  In-Reply-To: <2223527.1753476592@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox