Re: SO_KEEPALIVE

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: SO_KEEPALIVE
Дата
Msg-id 428B4551.7080806@opencloud.com
обсуждение исходный текст
Ответ на Re: SO_KEEPALIVE  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SO_KEEPALIVE  (Gaetano Mendola <mendola@bigfoot.com>)
Re: SO_KEEPALIVE  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-hackers
Tom Lane wrote:

> On the other hand, it seems to me a client-side SO_KEEPALIVE would only
> be interesting for completely passive clients (perhaps one that sits
> waiting for NOTIFY messages?)  A normal client will try to issue some
> kind of database command once in awhile, and as soon as that happens,
> there is a reasonably short timeout before connection failure is reported.

If you're unlucky, the server could go down while you're blocked waiting
for a query response..

-O


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Ingres dump files to PostgreSQL
Следующее
От: Gaetano Mendola
Дата:
Сообщение: Re: SO_KEEPALIVE