Re: bug in windows xp

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: bug in windows xp
Дата
Msg-id 20060408131449.GB24800@svana.org
обсуждение исходный текст
Ответ на Re: Bug in window xp  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: bug in windows xp  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Re: SIGFPE on integer divide.

This signal does appear on linux also. On my 7.4.7 installation it
doesn't because of some problem with the integer conversion code but on
8.2devel it gets a SIGFPE.

> SELECT (-2147483648) / (-1);
ERROR:  floating-point exception
DETAIL:  An invalid floating-point operation was signaled. This
probably means an out-of-range result or an invalid operation, such as
division by zero.

A simple C program shows the same. Why isn't it being caught on
windows?

Have a nice day,
--=20
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

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

Предыдущее
От: "Genaro Gambino"
Дата:
Сообщение: BUG #2382: Fail ODBC Connection
Следующее
От: Tom Lane
Дата:
Сообщение: Re: bug in windows xp