Re: Sharing aggregate states between different aggregate functions
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Sharing aggregate states between different aggregate functions |
| Дата | |
| Msg-id | 16503.1438105027@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Sharing aggregate states between different aggregate functions (Heikki Linnakangas <hlinnaka@iki.fi>) |
| Список | pgsql-hackers |
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> On 07/28/2015 07:18 PM, Tom Lane wrote:
>> Heikki Linnakangas <hlinnaka@iki.fi> writes:
>>> BTW, we're also not checking if the transition or final functions are
>>> volatile. But that was the same before this patch too.
>> Up to now it hasn't mattered.
> Yes, it has. We combine identical aggregates even without this patch.
Ah, right, how'd I forget about that?
> No-one's complained so far, and I can't think of a use case for a
> volatile transition or final function, so maybe it's not worth worrying
> about. Then again, checking for the volatility of those functions would
> be easy too.
Given the lack of complaints, I tend to agree that it's not the province
of this patch to make a change in that policy.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера