Andrew Dunstan <andrew@dunslane.net> writes:
> Richard Huxton wrote:
>> Is this not what we do with aggregate functions at present?
> Yes, more or less. That's what made me think of it.
> OTOH, before we rush out and do it someone needs to show that it's a net
> win.
Yeah, because this isn't doing anything to address the problem of
entry/exit overhead from calling a PL function many times. I kinda
dislike shoving the problem onto the heads of PL programmers anyway...
regards, tom lane