Re: [GENERAL] division by zero

From: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] division by zero
Date: 2003-03-10 21:57:35
Message-ID: 303E00EBDD07B943924382E153890E5433F7F3@cuthbert.rcsinc.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Merlin

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2003-03-10 21:59:12 Re: Roadmap for FE/BE protocol redesign
Previous Message Tom Lane 2003-03-10 21:51:23 Re: [INTERFACES] Roadmap for FE/BE protocol redesign