| От | Joe Conway |
|---|---|
| Тема | Re: RFC: array_agg() per SQL:200n |
| Дата | |
| Msg-id | 479E8891.4060302@joeconway.com обсуждение исходный текст |
| Ответ на | Re: RFC: array_agg() per SQL:200n (Jeff Davis <pgsql@j-davis.com>) |
| Ответы |
Re: RFC: array_agg() per SQL:200n
|
| Список | pgsql-hackers |
Jeff Davis wrote: > On Sun, 2008-01-27 at 22:11 -0800, Neil Conway wrote: >> p. 564 discusses the required behavior. The result of array_agg() is an >> array with one element per input value, sorted according to the optional >> ORDER BY clause. NULL input values are included in the array, and the >> result for an empty group is NULL, not an empty array. Note that per >> page 66, I'd expect array values in the input to array_agg() not to be >> flattened. > > Should there be an inverse operator (a SRF, in this case) that returns a > set from an array? Yes -- see UNNEST Joe
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера