mlw <[EMAIL PROTECTED]> writes:
> So, what would the order of operation be?
> I assume "my_array_constructor()" would be called first, and the return value
> then be passed to "my_aggregate()" along with the state value being set to the
> initial state, then subsequent calls to "my_array_construc
Tom Lane wrote:
>
> mlw <[EMAIL PROTECTED]> writes:
> >> If the needed parameters are all the same datatype, maybe you could put
> >> them into an array and pass the array as a single argument to the
> >> aggregate.
>
> > How would you do this without having to make multiple SQL calls?
>
> I wa
Tom Lane wrote:
> mlw <[EMAIL PROTECTED]> writes:
> > I need to do some OLAP stuff, and I asked previously if there were a way
> > to pass multiple parameters to an aggrigate function. i.e.:
> > I looked through the code and it is non-trivial to do,
>
> Offhand I don't know of any fundamental rea
mlw <[EMAIL PROTECTED]> writes:
>> If the needed parameters are all the same datatype, maybe you could put
>> them into an array and pass the array as a single argument to the
>> aggregate.
> How would you do this without having to make multiple SQL calls?
I was thinking something like
sele