Re: [report] memory leaks in COPY FROM on partitioned table - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [report] memory leaks in COPY FROM on partitioned table
Date
Msg-id 20180801210311.amousjht4pchceac@alvherre.pgsql
Whole thread Raw
In response to Re: [report] memory leaks in COPY FROM on partitioned table  (Andres Freund <andres@anarazel.de>)
Responses Re: [report] memory leaks in COPY FROM on partitioned table
List pgsql-hackers
On 2018-Aug-01, Andres Freund wrote:

> On 2018-08-01 16:38:11 -0400, Alvaro Herrera wrote:
> > On 2018-Jul-24, Amit Langote wrote:
> > 
> > > Your patch takes care of allocation happening inside
> > > get_partition_for_tuple, but as you mention there might be others in its
> > > caller ExecFindPartition.  So, I think we should switch to the per-tuple
> > > context in ExecFindPartition.
> > 
> > Right, makes sense.  Pushed that way.
> 
> The buildfarm does not like this one:
> https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=desmoxytes&dt=2018-08-01%2020%3A40%3A02
> (and a lot of other reports from my animals)

Hmm, variable shadowing ...

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [report] memory leaks in COPY FROM on partitioned table
Next
From: Alexander Lakhin
Date:
Subject: Re: make installcheck-world in a clean environment