Jeff Davis wrote:
> Here's an updated patch for just array_accum() with some simple docs.
I have committed a "best of Robert Haas and Jeff Davis" array_agg()
function with standard SQL semantics. I believe this gives the best
consistency with other aggregate functions for the no-input-rows case.
If some other behavior is wanted, it is a coalesce() away, as the
documentation states.