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

From Jeremy Kerr
Subject [PATCH 0/2] SIGPIPE masking in local socket connections, v2
Date
Msg-id 1244615513.975910.945519263770.0.gpush@pingu
Whole thread Raw
In response to Re: [RFC,PATCH] SIGPIPE masking in local socket connections  (Tom Lane <tgl@sss.pgh.pa.us>)
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?

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: Jeremy Kerr
Date:
Subject: [PATCH 1/2] [libpq] rework sigpipe-handling macros
Next
From: Fujii Masao
Date:
Subject: Re: postmaster recovery and automatic restart suppression