| От | Peter Eisentraut |
|---|---|
| Тема | Re: Aggregate ORDER BY patch |
| Дата | |
| Msg-id | 1258127065.4818.0.camel@vanquo.pezone.net обсуждение |
| Ответ на | Re: Aggregate ORDER BY patch (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On fre, 2009-11-13 at 10:01 -0500, Tom Lane wrote: > Peter Eisentraut <peter_e@gmx.net> writes: > > On fre, 2009-11-13 at 03:16 +0000, Andrew Gierth wrote: > >> Caveat: as discussed earlier, this patch changes the behaviour of > >> array_agg(DISTINCT x) when applied to NULL inputs. Formerly, the NULLs > >> were unconditionally skipped; now, they are treated just like DISTINCT > >> or GROUP BY normally do. > > > The right answer to that should be in the SQL standard. > > It's not. The standard defines the behavior of certain specific > aggregates; it doesn't provide general rules that would apply to > user-defined aggregates. But array_agg is in the standard.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера