Re: Question on SIGFPE in Windows

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Question on SIGFPE in Windows
Date: 2006-08-18 11:34:45
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA35546@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> SIGFPE is a synchornous signal and Windows will raise it if proper
> flag is set (check out the example program):
>
> http://msdn2.microsoft.com/en-us/library/kfy34skx.aspx
>
> But seems we didn't use the above method. Instead, we use the same
> methodology as other asynchrounous signals. My question is: (1) can
> windows really raise SIGFPE in our setting && (2) can we really
> catch it in windows?

(1) No, because we haven't enabled it.
(2) No, not the way things are set up. But because of (1), that's not a
problem.

There should be a discussion in the archives during the 8.0 development
cycle about this.

//Magnus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-08-18 11:46:05 Re: Windows 2000 Support
Previous Message Andreas Pflug 2006-08-18 11:30:16 Re: pg_terminate_backend