Re: [GENERAL] division by zero

From: Doug Royer <Doug(at)Royer(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] division by zero
Date: 2003-03-10 22:09:08
Message-ID: 3E6D0D04.8020208@Royer.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Merlin Moncure wrote:
> Doug Royer wrote:
>
>>No, try/catch does not trap division by zero unless the underlying
>>implementation throws an error there is nothing to catch.
>>
>
> I am absolutely 100% sure that you can catch int/0 with a try catch
> handler (in c++) on windows platforms (when compiled with ms/borland
> compiler). All these weird issues are a direct result of windows's dos
> legacy. Try it and see.

That must be a Microsoft extension - it is not standard c++.

--

Doug Royer | http://INET-Consulting.com
-------------------------------|-----------------------------
Doug(at)Royer(dot)com | Office: (208)612-INET
http://Royer.com/People/Doug | Fax: (866)594-8574
| Cell: (208)520-4044

We Do Standards - You Need Standards

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2003-03-10 22:18:00 Re: [INTERFACES] Roadmap for FE/BE protocol redesign
Previous Message Ashley Cambrell 2003-03-10 22:07:03 Re: Roadmap for FE/BE protocol redesign