Re: Documentation, window functions

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Documentation, window functions
Дата
Msg-id 4C9F51DD0200002500035DF5@gw.wicourts.gov
обсуждение исходный текст
Ответ на Documentation, window functions  (Dennis Björklund <db@zigo.dhs.org>)
Список pgsql-hackers
Robert Haas  wrote:
> Hmm... it is true that average will produce the same results on any
> ordering of the same set of input values, though.
Not exactly.  For floating point approximations you get a more
accurate sum (and therefore a more accurate average) if you add the
values in ascending order of absolute value.  Depending on the data,
it can make quite a difference.
-Kevin



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

Предыдущее
От: Marios Vodas
Дата:
Сообщение: Re: C function to return tuple
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Congratulations on leaving CVS