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

From: Manfred Spraul <manfred(at)colorfullife(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: AgentM <agentm(at)webopticon(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Avoiding SIGPIPE (was Re: OSDL DBT-2 w/ PostgreSQL
Date: 2003-11-03 20:49:44
Message-ID: 3FA6BF68.9060303@colorfullife.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
patch-sigpipe-global text/plain 5.5 KB
patch-pgbench-global text/plain 2.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-11-03 21:14:47 Re: Avoiding SIGPIPE (was Re: OSDL DBT-2 w/ PostgreSQL
Previous Message Marc G. Fournier 2003-11-03 20:38:49 Re: 7.4RC1 tag'd, branched and bundled ...