Re: libpq and psql not on same page about SIGPIPE

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: libpq and psql not on same page about SIGPIPE
Дата
Msg-id 41AE465F.7060605@opencloud.com
обсуждение исходный текст
Ответ на Re: libpq and psql not on same page about SIGPIPE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> If the C library does support queued signals then we will read the
> existing SIGPIPE condition and leave our own signal in the queue.  This
> is no problem to the extent that one pending SIGPIPE looks just like
> another --- does anyone know of platforms where there is additional info
> carried by a SIGPIPE event?

POSIX.1b / SA_SIGINFO? SIGPIPE does not fill much of siginfo_t, but the 
3rd handler arg has the interrupted execution context.

-O


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: New compile warnings for inheritance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq and psql not on same page about SIGPIPE