Re: BUG #5484: sum() bug

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5484: sum() bug
Дата
Msg-id 1778.1275241437@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5484: sum() bug  ("Sergey" <viras@yandex.ru>)
Ответы Re: BUG #5484: sum() bug
Список pgsql-bugs
"Sergey" <viras@yandex.ru> writes:
> 8849.15+6464.57=15313.72
> But sum()=15313.7

You did not show what datatype you're summing, but if the column is
float4 this result wouldn't be surprising.  float4 is only good
to about six decimal digits.

            regards, tom lane

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