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