Re: Bug in signal handler

From: Douglas McNaught <doug(at)mcnaught(dot)org>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Zdenek Kotala <zdenek(dot)kotala(at)sun(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug in signal handler
Date: 2006-05-11 12:24:02
Message-ID: 87mzdon40t.fsf@suzuka.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:

> Running unsafe functions within a signal handler is not unsafe per-se.
> It's only unsafe if the main program could also be running unsafe
> functions.

I don't disagree with your reasoning, but does POSIX actually say
this?

-Doug

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-05-11 13:08:44 Re: [COMMITTERS] pgsql: Clean up code associated with updating pg_class statistics
Previous Message Martijn van Oosterhout 2006-05-11 12:17:44 Re: Bug in signal handler [Was: [TODO] Allow commenting