Re: Avoiding SIGPIPE (was Re: OSDL DBT-2 w/ PostgreSQL

Поиск
Список
Период
Сортировка
От markw@osdl.org
Тема Re: Avoiding SIGPIPE (was Re: OSDL DBT-2 w/ PostgreSQL
Дата
Msg-id 200311032002.hA3K26C16009@mail.osdl.org
обсуждение исходный текст
Ответ на Avoiding SIGPIPE (was Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Avoiding SIGPIPE (was Re: OSDL DBT-2 w/ PostgreSQL
Список pgsql-hackers
On  1 Nov, Tom Lane wrote:
> Manfred Spraul <manfred@colorfullife.com> writes:
>> Tom Lane wrote:
>>> What we really want is to turn off SIGPIPE delivery on our socket
>>> (only), but AFAIK there is no API to do that.
>>> 
>> Linux has as MSG_NOSIGNAL flag for send(), but that seems to be Linux 
>> specific.
> 
> Hmm ... a Linux-specific solution would be better than none at all.
> 
> A bigger objection is that we couldn't get libssl to use it (AFAIK).
> The flag really needs to be settable on the socket (eg, via fcntl),
> not per-send.

I'm a bit unfamiliar with this stuff, so I wanted to ask if this was
something that Linux appears to be handling differently than other OS's,
or if this was a platform specific issue with postgresql.

Thanks,
Mark


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: RC1 on AIX - working thus far
Следующее
От: Neil Conway
Дата:
Сообщение: Re: adding support for posix_fadvise()