Re: [PATCH] Negative Transition Aggregate Functions (WIP)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Дата
Msg-id 25017.1387073338@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Negative Transition Aggregate Functions (WIP)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Список pgsql-hackers
I wrote:
> It's not so good with two-row windows though:

Actually, carrying that example a bit further makes the point even more
forcefully:
   Table       correct sum of          negative-transition               this + next value       result   1e20
1e20                   1e20 + 1 = 1e20   1           1                       1e20 - 1e20 + 0 = 0   0           0
              0 - 1 + 0 = -1   0           1                       -1 - 0 + 1 = 0   1
 

Those last few answers are completely corrupt.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Negative Transition Aggregate Functions (WIP)
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: encoding name "SHIFT_JIS" is absent in chklocale.c