Joe Conway writes:
> >>And in any case, array_accum() is intended to be used for building
> >>custom aggregates, so that needs to be documented.
> > Can you give an example of an aggregate or a class of aggregates where
> > this would be useful?
> There are many discussions on the lists over the past few years in which
> people have requested this kind of functionality. There is even a
> contrib/intagg that does this for integers only. I don't think there is
> any question that there is a demand for the feature. Some examples:
These applications should use an empty array as initial value. Then the
normal array concatenation can be used as transition function.
--
Peter Eisentraut peter_e@gmx.net