Re: How to retain lesser paths at add_path()? - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: How to retain lesser paths at add_path()?
Date
Msg-id 20211005172447.GC28628@ahch-to
Whole thread Raw
In response to Re: How to retain lesser paths at add_path()?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: How to retain lesser paths at add_path()?  (Nils Dijk <me@thanod.nl>)
List pgsql-hackers
On Sat, Mar 06, 2021 at 06:50:13PM +0900, Kohei KaiGai wrote:
> 
> On the other hand, I'm uncertain whether the pfree(new_path) at the tail
> of add_path makes sense on the modern hardware, because they allow to
> recycle just small amount of memory, then entire memory consumption
> by the optimizer shall be released by MemoryContext mechanism.
> If add_path does not release path-node, the above portion is much simpler.
> 

Hi Kaigai-san,

Do you have an updated patch? Please feel free to resubmit to next CF.
Current CF entry has been marked as RwF.

-- 
Jaime Casanova
Director de Servicios Profesionales
SystemGuards - Consultores de PostgreSQL



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: BUG #17212: pg_amcheck fails on checking temporary relations
Next
From: John Naylor
Date:
Subject: Re: Polyphase merge is obsolete