[PATCH 0/2 v3] SIGPIPE masking in local socket connections - Mailing list pgsql-hackers

From Jeremy Kerr
Subject [PATCH 0/2 v3] SIGPIPE masking in local socket connections
Date
Msg-id 1246344523.875159.618882543354.0.gpush@pingu
Whole thread Raw
Responses [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros
[PATCH 2/2 v3] [libpq] Try to avoid manually masking SIGPIPEs on every send()
List pgsql-hackers
A new approach to avioding manipulating the signal mask during for every
send - this time round, use SO_NOSIGPIPE and MSG_NOSIGNAL if available.

The patches have been tested on Linux and OSX, and I've confirmed that
'struct foo { };' will compile with a MSVC compiler. I'd still like a
little more testing though, is there a machine that allows both
SO_NOSIGPIPE and MSG_NOSIGNAL?

v3: respin as context diffs

Again, comments most welcome,


Jeremy

---
Jeremy Kerr (2):     [libpq] rework sigpipe-handling macros     [libpq] Try to avoid manually masking SIGPIPEs on every
send()



pgsql-hackers by date:

Previous
From: Scara Maccai
Date:
Subject: Re: Query progress indication - an implementation
Next
From: Jeremy Kerr
Date:
Subject: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros