Re: array_agg and array_accum (patch) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: array_agg and array_accum (patch)
Date
Msg-id 7986.1227215510@sss.pgh.pa.us
Whole thread Raw
In response to Re: array_agg and array_accum (patch)  ("Robert Haas" <robertmhaas@gmail.com>)
Responses Re: array_agg and array_accum (patch)  ("Merlin Moncure" <mmoncure@gmail.com>)
List pgsql-hackers
"Robert Haas" <robertmhaas@gmail.com> writes:
> It looks to me like section 34.10 of the docs might benefit from some
> sort of update in light of this patch, since the builtin array_agg now
> does the same thing as the proposed user-defined array_accum, only
> better.  Presumably we should either pick a different example, or add
> a note that a builtin is available that does the same thing more
> efficiently.

I did the latter.  If you can think of an equally plausible and short
example of a polymorphic aggregate, we could certainly replace the
example instead ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Autoconf, libpq and replacement function
Next
From: Tom Lane
Date:
Subject: Re: Autoconf, libpq and replacement function