Skip site navigation (1) Skip section navigation (2)

[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 (view raw or flat)
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?

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()


Responses

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group