Andrew Gierth wrote:
> Herewith a patch to implement agg(foo ORDER BY bar) with or without
> DISTINCT, etc.
What does that mean? Aggregate functions are supposed to be commutative,
right?
> No artificial restrictions are imposed on what
> syntactical combinations are allowed. However, ORDER BY is not allowed
> with aggregates used as window functions (as per the existing
> restriction on DISTINCT).
How is this different from window functions?
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com