Re: SIGPIPE handling - Mailing list pgsql-patches

From Manfred Spraul
Subject Re: SIGPIPE handling
Date
Msg-id 3FFCF5E2.7070702@colorfullife.com
Whole thread Raw
In response to Re: SIGPIPE handling  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: SIGPIPE handling  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: SIGPIPE handling  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian wrote:

>>
>>+     /*
>>+      *    We could lose a signal during this test.
>>+      *    In a multi-threaded application, this might
>>+      *    be a problem.  Do any non-threaded platforms
>>
Threaded or non-threaded?

>>+      *    lack sigaction()?
>>+      */
>>
Additionally, the problem is not restricted to multithreaded apps:
signal(,SIG_IGN) clears all pending signals.

--
    Manfred


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: psql \i handling ~ in specified file name
Next
From: "Korea PostgreSQL Users' Group"
Date:
Subject: Patch of intarray module in v7.4.1