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