Re: BUG #3387: mod on non-integer returns bad result

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3387: mod on non-integer returns bad result
Дата
Msg-id 3249.1181916950@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3387: mod on non-integer returns bad result  ("Filip Krska" <filip.krska@comstar.cz>)
Ответы Re: BUG #3387: mod on non-integer returns bad result  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-bugs
"Filip Krska" <filip.krska@comstar.cz> writes:
> select mod (70.0,70) from dual;
> returns
> 70.0
> instead of
> 0.0

PG 8.0 gets this right.  I think this demonstrates that Bruce's 8.1 patch
http://archives.postgresql.org/pgsql-committers/2005-06/msg00045.php
didn't actually fix anything, merely move the failure cases around.

            regards, tom lane

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

Предыдущее
От: "Filip Krska"
Дата:
Сообщение: BUG #3387: mod on non-integer returns bad result
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: BUG #3387: mod on non-integer returns bad result