Re: array_agg() NULL Handling

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: array_agg() NULL Handling
Дата
Msg-id 1CCE16A9-D6B8-4251-B388-1373AFB6D0C7@kineticode.com
обсуждение исходный текст
Ответ на Re: array_agg() NULL Handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: array_agg() NULL Handling  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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