Re: SIGPIPE handling

From: Manfred Spraul <manfred(at)colorfullife(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: SIGPIPE handling
Date: 2004-01-08 06:17:06
Message-ID: 3FFCF5E2.7070702@colorfullife.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Korea PostgreSQL Users' Group 2004-01-08 06:25:53 Patch of intarray module in v7.4.1
Previous Message Bruce Momjian 2004-01-08 05:21:30 Re: psql \i handling ~ in specified file name