From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)postgresql(dot)org, Magnus Hagander <mha(at)sollentuna(dot)net>, Wang Haiyong <wanghaiyong(at)neusoft(dot)com> |
Subject: | Re: bug in windows xp |
Date: | 2006-04-08 17:16:39 |
Message-ID: | 20060408171639.GD24800@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-patches |
On Sat, Apr 08, 2006 at 12:27:19PM -0400, Tom Lane wrote:
> Hmm, it seems to depend on the hardware you're using. I just tried it
> on four different machines:
<no consistancy whatsoever>
> > 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.
Well, we should at least add a regression test for this divide thing
since obviously people assumed it was working when it wasn't.
However, would it be possible to add a test_sigfpe() to regress.c that
simply tries to do 1/0. There is appears to be no regression test that
generates a floating-point exception which appears to be a serious
omission. There are any number of ways to force one: ln(0) for example
(hmm, looks like we protect against that). I suppose one floating point
and one integer example should suffice.
Are there any other signals we should be watching for?
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 | Alvaro Herrera | 2006-04-08 17:23:35 | ORDER BY bug in 8.1, WinXP |
Previous Message | Tom Lane | 2006-04-08 16:27:19 | Re: bug in windows xp |
From | Date | Subject | |
---|---|---|---|
Next Message | Markus Schiltknecht | 2006-04-08 17:37:11 | Re: Support Parallel Query Execution in Executor |
Previous Message | Jonah H. Harris | 2006-04-08 17:16:08 | Re: Support Parallel Query Execution in Executor |