Re: Question on SIGFPE in Windows - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Question on SIGFPE in Windows
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA35546@algol.sollentuna.se
Whole thread Raw
In response to Question on SIGFPE in Windows  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
List 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



pgsql-hackers by date:

Previous
From: Andreas Pflug
Date:
Subject: Re: pg_terminate_backend
Next
From: "Magnus Hagander"
Date:
Subject: Re: Windows 2000 Support