Mark,
On 11/24/06 6:16 PM, "Mark Kirkwood" <markir(at)paradise(dot)net(dot)nz> wrote:
> By way of comparison, here is the first 63 lines for:
>
> select sum(val2) from avgtest
So, sum() is only alloc'ing 5 times for every row being processed, half of
what avg() is doing.
Seems like what we need to do is find a way to reuse the temp heaptuple
between calls.
- Luke