Re: Avoiding SIGPIPE (was Re: OSDL DBT-2 w/ PostgreSQL

Manfred Spraul <manfred@colorfullife.com>

From: Manfred Spraul <manfred@colorfullife.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: AgentM <agentm@webopticon.com>, pgsql-hackers@postgresql.org
Date: 2003-11-03T20:49:44Z
Lists: pgsql-hackers

Attachments

Tom Lane wrote:

>It strikes me that sigpipe handling will be a global affair in any
>particular application --- it's unlikely that it would be correct for
>some PG connections and wrong for others.  So one possibility is to make
>the control variable be global (static) and thus it could be set before
>creating the first PGconn.
>  
>
What about the attached patches?
I hope I found all places that must be updated when a new function is 
added to libpq.

--
    Manfred