Re: Review: listagg aggregate

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Review: listagg aggregate
Дата
Msg-id 162867791002010540q2a65b349u6c221fd3e821796a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Review: listagg aggregate  (Thom Brown <thombrown@gmail.com>)
Ответы Re: Review: listagg aggregate  (Thom Brown <thombrown@gmail.com>)
Список pgsql-hackers
2010/2/1 Thom Brown <thombrown@gmail.com>:
> I noticed that the regression test results don't include the following case:
>
> select string_agg(a) from (values(null),(null)) g(a);
>
> There is one similar where a delimiter is provided.
>
> Which leads me to ask for clarification, would it be safe to assume that
> string_agg can never itself return null?

if all values are null, then result is null.

Pavel

>
> Thom
>
>


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Matteo Beccati
Дата:
Сообщение: Re: mailing list archiver chewing patches
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Review: listagg aggregate