Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: patch-pgbench-global
Description: text/plain (2.6 KB)
Attachment: patch-sigpipe-global
Description: text/plain (5.5 KB)

In response to

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group