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 41AE465F.7060605@opencloud.com
Whole thread Raw
In response to Re: libpq and psql not on same page about SIGPIPE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

> If the C library does support queued signals then we will read the
> existing SIGPIPE condition and leave our own signal in the queue.  This
> is no problem to the extent that one pending SIGPIPE looks just like
> another --- does anyone know of platforms where there is additional info
> carried by a SIGPIPE event?

POSIX.1b / SA_SIGINFO? SIGPIPE does not fill much of siginfo_t, but the 
3rd handler arg has the interrupted execution context.

-O


pgsql-hackers by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: New compile warnings for inheritance
Next
From: Tom Lane
Date:
Subject: Re: libpq and psql not on same page about SIGPIPE