Re: Restartable signals 'n all that - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Restartable signals 'n all that
Date
Msg-id 17242.1183326042@sss.pgh.pa.us
Whole thread Raw
In response to Re: Restartable signals 'n all that  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> One other possiblity is using something like nanosleep():
> But I don't know if that would help on your HPUX box though...

Doesn't help ... the function exists but it seems to have the identical
restarting behavior to select :-(

I had previously tried poll(), noting that its man page didn't say
anything about being restartable, but no luck there either.

I'm prepared to write off HPUX as being broken in this regard, if
no one else reports similar behaviors from their platforms; but we
still have to think about whether statement_timeout isn't putting
us at risk due to SIGALRM not being marked SA_RESTART.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL