Re: [GENERAL] division by zero

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] division by zero
Date: 2003-03-10 16:49:19
Message-ID: 200303101649.h2AGnK704803@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


The big question is how to fix this on Win32. Is a test in the integer
division routines enough? Is there a signal to catch on Win32?

---------------------------------------------------------------------------

Merlin Moncure wrote:
> Bruce Momjian wrote:
> > I just tested the SRA Win32 threaded port and both SELECT 1/0 and
> SELECT
> > 0/0 crash the process. I have reported this to Tatsuo.
>
> The PeerDirect version (beta4) does the same thing. This is the version
> based on the 7.2.1 source that I have been testing for a while. If
> there is a newer version than that I don't have it yet. The source is
> not available so I can't verify the cause.
>
> Merlin
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jason M. Felice 2003-03-10 17:04:06 Re: SQL99 ARRAY support proposal
Previous Message Merlin Moncure 2003-03-10 16:45:03 Re: [GENERAL] division by zero