Re: Aggregate-function space leakage - Mailing list pgsql-hackers

From Hitoshi Harada
Subject Re: Aggregate-function space leakage
Date
Msg-id e08cc0400907240009h1f3b44f9tbccbe765f22bb32c@mail.gmail.com
Whole thread Raw
In response to Re: Aggregate-function space leakage  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
2009/7/24 Tom Lane <tgl@sss.pgh.pa.us>:
> I think that WindowAgg does not need any changes because it already does
> MemoryContextResetAndDeleteChildren(winstate->wincontext) at partition
> boundaries.  Hitoshi, do you agree?
>

I do. Looking closer, temporal space management of Agg is getting
similar to WindowAgg's partition localMemory strategy. We might be
able to get them one. Anyway, the choice sounds better now, though I
will test array_agg more.

Regards,

--
Hitoshi Harada


pgsql-hackers by date:

Previous
From: mahendra chavan
Date:
Subject: Re: query decorrelation in postgres
Next
From: Magnus Hagander
Date:
Subject: Re: Determining client_encoding from client locale