Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> Right, this is an instance of a known problem (palloc'd temporaries for
>> aggregate functions aren't freed until end of statement).
> I thought we fixed this recently with that aggregate patch?
No, we backed out said patch because it was busted (tried to free temp
even for pass-by-value types :-(). Anyone want to try again?
regards, tom lane