| От | Tom Lane |
|---|---|
| Тема | Re: Strange aggregate |
| Дата | |
| Msg-id | 17246.1048526630@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Strange aggregate (Teodor Sigaev <teodor@sigaev.ru>) |
| Список | pgsql-hackers |
Teodor Sigaev <teodor@sigaev.ru> writes:
> Is there possibility to write aggregate returns setof value?
Not with the present implementation.
I suppose we could think about postponing the call to the finalfunction
so that it's executed by execQual.c while evaluating an Agg node's
output tlist, and then something like that could work. But I'm not sure
we really want to go that way. Set-returning functions in targetlists
are a mess that we should try to get rid of, not enhance.
Can you think of a plausible syntax for an aggregate as a table function
(ie, in a FROM item, instead of a target list)?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера