Re: bug in windows xp
От | Tom Lane |
---|---|
Тема | Re: bug in windows xp |
Дата | |
Msg-id | 23464.1144513639@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: bug in windows xp (Martijn van Oosterhout <kleptog@svana.org>) |
Ответы |
Re: bug in windows xp
|
Список | pgsql-bugs |
Martijn van Oosterhout <kleptog@svana.org> writes: > Re: SIGFPE on integer divide. > This signal does appear on linux also. Hmm, it seems to depend on the hardware you're using. I just tried it on four different machines: x86 (Pentium 4): SIGFPE x86_64 (Xeon EM64T): SIGFPE HPPA: "ERROR: integer out of range" (the intended behavior) PPC (Mac OS X): no error, returns zero So the overflow test in int4div is definitely broken and needs to be changed. However, this is also a good question: > A simple C program shows the same. Why isn't it being caught on > windows? That still looks like a failure to trap something we should trap. I'd suggest fixing that first, because if we fix int4div first, we won't have a simple test case for it. regards, tom lane
В списке pgsql-bugs по дате отправления: