Re: Aggregate-function space leakage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org, Chris Spotts <rfusca(at)gmail(dot)com>
Subject: Re: Aggregate-function space leakage
Date: 2009-07-22 21:35:37
Message-ID: 3570.1248298537@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> On Wed, 2009-07-22 at 17:14 -0400, Tom Lane wrote:
>> One possibility is to have nodeAgg.c reset the "aggcontext" between
>> groups when in group mode. I think this would be more than a one-liner
>> fix because it probably has pointers to transvalues that are in that
>> context, but it's surely doable.

> Is there a disadvantage to this approach, or is it just more work?

Don't know ... haven't tried to do it yet.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2009-07-22 23:01:27 Re: Aggregate-function space leakage
Previous Message Jeff Davis 2009-07-22 21:26:06 Re: Aggregate-function space leakage