Thanks. I was getting to that, but hadn't started :-)
Per our discussion off-list, I agree with this method, and the patch
looks fine to me.
//Magnus
> -----Original Message-----
> From: Claudio Natoli [mailto:claudio.natoli@memetrics.com]
> Sent: Thursday, March 25, 2004 2:07 AM
> To: 'pgsql-patches@postgresql.org'
> Subject: [PATCHES] APC/socket fix (final?)
>
>
>
> For application to HEAD.
>
> This should take care of most, if not all, cases where a
> backend can be interrupted in a blocking socket operation by
> a signal which itself performs a socket operation (which
> interacts badly with our APC-based signal implementation).
>
> ---
> Certain disclaimers and policies apply to all email sent from
> Memetrics. For the full text of these disclaimers and policies see
> <a
> href="http://www.memetrics.com/emailpolicy.html">http://www.me
> metrics.com/em
> ailpolicy.html</a>
>
>
>