Re: [HACKERS] Re: bug on aggregate function AVG()

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: [HACKERS] Re: bug on aggregate function AVG()
Дата
Msg-id 363FF7E7.23EC80EA@alumni.caltech.edu
обсуждение исходный текст
Ответ на bug on aggregate function AVG()  ("Jose' Soares" <jose@sferacarta.com>)
Список pgsql-hackers
> > prova=> select avg(int_2), avg(int_4), avg(int_8) from a;
> The same on SUM():

Sure. For some reason, on most platforms integers are allowed to
overflow in Postgres. Of course, both SUM() and AVG() take a running
sum, and once they overflow you are hosed...
                   - Tom


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

Предыдущее
От: dg@informix.com (David Gould)
Дата:
Сообщение: Re: [HACKERS] Re: Comparisons on NULLs (was Re: A small problem...)
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] A small problem with the new inet and cidr typesg