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  (viras <viras@yandex.ru>)
Список 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 по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: BUG #5469: regexp_matches() has poor behaviour and more poor documentation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5477: CREATE DOMAIN NOT NULL constraints not always enforced for INSERT with subquery