Re: SIGPIPE handling

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: SIGPIPE handling
Дата
Msg-id 20031116172806.GA29847@ping.be
обсуждение исходный текст
Ответ на SIGPIPE handling  (Manfred Spraul <manfred@colorfullife.com>)
Ответы Re: SIGPIPE handling  (Kurt Roeckx <Q@ping.be>)
Список pgsql-patches
On Sun, Nov 16, 2003 at 12:56:10PM +0100, Manfred Spraul wrote:
> Hi,
>
> attached is an update of my automatic sigaction patch: I've moved the
> actual sigaction calls into pqsignal.c and added a helper function
> (pgsignalinquire(signo)). I couldn't remove the include <signal.h> from
> fe-connect.c: it's required for the SIGPIPE definition.
> Additionally I've added a -a flag for pgbench that sets the signal
> handler before calling PQconnectdb.

Is there a reason we don't make use of the MSG_NOSIGNAL flag to
send()?  Or is the problem in case of SSL?


Kurt


В списке pgsql-patches по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: improve overcommit docs
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SRA Win32 sync() code