>
>
> But how can I get my wrapper function to evaluate the aggregate on the
> whole table and work with the result afterwards?
>
> Or do I need to change the aggregate?
>
>
I do not follow but...
SELECT myWrapper(agg_output) FROM (
SELECT myAgg(x) AS agg_output FROM test
) agg_subquery;
It is not clear why you need both an aggregate and a wrapper...
David J.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/I-probably-don-t-understand-aggregates-tp5806879p5806900.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.