Re: SIGPIPE handling, take two.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Manfred Spraul <manfred(at)colorfullife(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: SIGPIPE handling, take two.
Date: 2003-11-11 14:30:09
Message-ID: 29945.1068561009@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Oh, forgot to mention ...

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Spraul 2003-11-11 17:22:45 Re: SIGPIPE handling, take two.
Previous Message Tom Lane 2003-11-11 14:27:54 Re: SIGPIPE handling, take two.