Re: wip: functions median and percentile

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: wip: functions median and percentile
Дата
Msg-id AANLkTi=kLrKJvJhrRSu7sD5hCPVrXiJ+KYm4o94fiNnf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: wip: functions median and percentile  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: wip: functions median and percentile  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
2010/10/13 Pavel Stehule <pavel.stehule@gmail.com>:
> 2010/10/13 Peter Eisentraut <peter_e@gmx.net>:
>> On mån, 2010-10-11 at 20:46 +0200, Pavel Stehule wrote:
>>> The problem is in interface. The original patch did it, but I removed
>>> it. We cannot to unsure immutability of some parameters now.
>>
>> How about you store the "immutable" parameter in the transition state
>> and error out if it changes between calls?
>>
>
> yes, it's possibility. Now I looking there and I see the as more
> important problem the conformance with ANSI SQL. see my last post.
> There can be a kind of aggregate functions based on tuplesort.

more - all these functions needs to solve same problem with planner
and hash agg. So maybe is time to add a flag ISTUPLESORTED to pg_proc
and add solve these functions together.

Pavel

>
> Regards
>
> Pavel
>
>
>>
>


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: wip: functions median and percentile
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: WIP: extensible enums