Thom Brown <thom(at)linux(dot)com> writes:
> Looking at the syntax for aggregate expressions in the docs, it seems the
> first three forms could perhaps be merged since the ALL and DISTINCT
> keywords are effectively optional.
Dunno, just seems harder to read to me...
regards, tom lane