Re: array_agg() NULL Handling

Поиск
Список
Период
Сортировка
Искать
От
David E. Wheeler
Тема
Re: array_agg() NULL Handling
Дата
Msg-id
1CCE16A9-D6B8-4251-B388-1373AFB6D0C7@kineticode.com
Ответ на
Список
Дерево обсуждения
array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling Pavel Stehule <pavel.stehule@gmail.com>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling David Fetter <david@fetter.org>
Re: array_agg() NULL Handling Thom Brown <thom@linux.com>
Re: array_agg() NULL Handling Pavel Stehule <pavel.stehule@gmail.com>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling Tom Lane <tgl@sss.pgh.pa.us>
Re: array_agg() NULL Handling Pavel Stehule <pavel.stehule@gmail.com>
Re: array_agg() NULL Handling Tom Lane <tgl@sss.pgh.pa.us>
Re: array_agg() NULL Handling Pavel Stehule <pavel.stehule@gmail.com>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling Dimitri Fontaine <dfontaine@hi-media.com>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling Tom Lane <tgl@sss.pgh.pa.us>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling Tom Lane <tgl@sss.pgh.pa.us>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling Tom Lane <tgl@sss.pgh.pa.us>
Re: array_agg() NULL Handling Thom Brown <thom@linux.com>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
Re: array_agg() NULL Handling Thom Brown <thom@linux.com>
Re: array_agg() NULL Handling "David E. Wheeler" <david@kineticode.com>
On Sep 1, 2010, at 10:12 AM, Tom Lane wrote:

> I think when that text was written, it was meant to imply "all the
> aggregates defined in SQL92".  There seems to be a lot of confusion
> in this thread about whether "standard" means "defined by SQL spec"
> or "built-in in Postgres".  Should we try to refine the wording to
> clarify that?

Yes please.

> Even more to the point, should we deliberately make this vaguer so that
> we aren't finding ourselves with obsolete text again and again?  You can
> bet that people adding new aggregates in the future aren't going to
> think to update this sentence, any more than happened with array_agg.

Perhaps “consult the docs for each aggregate to determine how it handles NULLs.”

Best,

David
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: array_agg() NULL Handling
От: Tom Lane
Дата:
Сообщение: Re: array_agg() NULL Handling
FAQ