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

From: Jeremy Kerr <jk(at)ozlabs(dot)org>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: Marko Kreen <markokr(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: [PATCH 0/2] SIGPIPE masking in local socket connections, v2
Date: 2009-06-10 06:31:53
Message-ID: 1244615513.975910.945519263770.0.gpush@pingu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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
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()

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2009-06-10 06:33:31 Re: postmaster recovery and automatic restart suppression
Previous Message Simon Riggs 2009-06-10 06:18:54 Re: pgindent run coming