Re: [HACKERS] libpq and psql not on same page about SIGPIPE - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] libpq and psql not on same page about SIGPIPE
Date
Msg-id 2395.1101959242@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] libpq and psql not on same page about SIGPIPE  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [HACKERS] libpq and psql not on same page about SIGPIPE  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> No, that's wrong: if there is a pending SIGPIPE that belongs to the
>> outer app, you'd clear it.

> True, but I documented that in the patch.

A documented bug is still a bug.  The entire point of this change is to
not interfere with the behavior of the surrounding app, at least not
more than we absolutely have to; and we do not have to clear SIGPIPEs
that are certainly not ours.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] libpq and psql not on same page about SIGPIPE
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] libpq and psql not on same page about SIGPIPE