Re: array_agg and array_accum (patch)
От | Robert Haas |
---|---|
Тема | Re: array_agg and array_accum (patch) |
Дата | |
Msg-id | 603c8f070811131940n4e71cf4oabdee2154da6b95f@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: array_agg and array_accum (patch) (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: array_agg and array_accum (patch)
|
Список | pgsql-hackers |
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. ...Robert On Thu, Nov 13, 2008 at 11:07 AM, Peter Eisentraut <peter_e@gmx.net> wrote: > 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. > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers >
В списке pgsql-hackers по дате отправления: