| От | Tom Lane |
|---|---|
| Тема | Window-functions patch handling of aggregates |
| Дата | |
| Msg-id | 3425.1230088845@sss.pgh.pa.us обсуждение |
| Ответы |
Re: Window-functions patch handling of aggregates
|
| Список | pgsql-hackers |
The window functions patch is laboring under the delusion that it can
call an aggregate's final function and then go back to invoking the
transfn some more on the same data. This is merest fantasy :-(
regression=# select array_agg(q1) over(order by q1) from int8_tbl;
server closed the connection unexpectedly This probably means the server terminated abnormally before or
whileprocessing the request.
The connection to the server was lost. Attempting reset: Failed.
Unless we want to move the goalposts on what an aggregate is allowed
to do internally, we're going to have to change this to re-aggregate
repeatedly. Neither prospect is appetizing in the least.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера