From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Cc: | Magnus Hagander <mha(at)sollentuna(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Wang Haiyong <wanghaiyong(at)neusoft(dot)com> |
Subject: | Re: bug in windows xp |
Date: | 2006-04-08 13:14:49 |
Message-ID: | 20060408131449.GB24800@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-patches |
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,
--
Martijn van Oosterhout <kleptog(at)svana(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Pegasus86 | 2006-04-08 16:18:51 | BUG #2383: MessageBox Win32 API makes clients freeze |
Previous Message | Oswaldo Hernández | 2006-04-08 11:10:18 | Re: Problema Order By en PosgreSQL 8.1 |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-04-08 16:27:19 | Re: bug in windows xp |
Previous Message | Magnus Hagander | 2006-04-08 10:40:35 | Re: Bug in window xp |