Re: libpq and psql not on same page about SIGPIPE - Mailing list pgsql-hackers

From Oliver Jowett
Subject Re: libpq and psql not on same page about SIGPIPE
Date
Msg-id 41AE3D10.2030804@opencloud.com
Whole thread Raw
In response to Re: libpq and psql not on same page about SIGPIPE  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:

[... SIGPIPE suppression in libpq ...]

Linux also has MSG_NOSIGNAL as a send() flag that might be useful. It 
suppresses generation of SIGPIPE for just that call. No, it doesn't work 
for SSL and it's probably not very portable, but it might be a good 
platform-specific optimization for the common case.

-O


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Increasing the length of
Next
From: Hannu Krosing
Date:
Subject: Re: Where is the connection info