[PATCH 0/2 v3] SIGPIPE masking in local socket connections

From: Jeremy Kerr <jk(at)ozlabs(dot)org>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH 0/2 v3] SIGPIPE masking in local socket connections
Date: 2009-06-30 06:48:43
Message-ID: 1246344523.875159.618882543354.0.gpush@pingu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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

v3: respin as context diffs

Again, comments most welcome,


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


Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2009-06-30 06:51:35 Re: foreign.h is not installed
Previous Message Scara Maccai 2009-06-30 06:31:23 Re: Query progress indication - an implementation