Re: SIGPIPE handling, take two. - Mailing list pgsql-patches

From Tom Lane
Subject Re: SIGPIPE handling, take two.
Date
Msg-id 29945.1068561009@sss.pgh.pa.us
Whole thread Raw
In response to Re: SIGPIPE handling, take two.  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Oh, forgot to mention ...

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> My only issue is that this is per-connection, while I think you have to
> create a global variable that defaults to false, and on first connect,
> check, and not after.

No, because this patch does not have any global effect on the signal
handling.  It might be unnecessary to check per-connection, but it
doesn't hurt, and on grounds of cleanliness I'd prefer to avoid a global
variable.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: SIGPIPE handling, take two.
Next
From: Manfred Spraul
Date:
Subject: Re: SIGPIPE handling, take two.