Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5
Дата
Msg-id 1456.1067703885@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5  (Manfred Spraul <manfred@colorfullife.com>)
Ответы Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5  (Manfred Spraul <manfred@colorfullife.com>)
Список pgsql-hackers
Manfred Spraul <manfred@colorfullife.com> writes:
> Is that really necessary?

Unfortunately, yes.  libpq can't change the global setting of SIGPIPE
without breaking the surrounding application, but we don't want to crash
the app if the server connection has disappeared, either.  So we have to
set the SIGPIPE handler and then restore it around every send().

On some platforms there might be a better way, but this is the only
portable way I know about.
        regards, tom lane


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

Предыдущее
От: Manfred Spraul
Дата:
Сообщение: Re: OSDL DBT-2 w/ PostgreSQL 7.3.4 and 7.4beta5
Следующее
От: elein
Дата:
Сообщение: Re: [DOCS] Annotated release notes