Re: Any timeout feature(in libPQ) suitable for my case?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Any timeout feature(in libPQ) suitable for my case?
Дата
Msg-id 21915.1044938143@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Any timeout feature(in libPQ) suitable for my case?  ("Frankie Lam" <frankie@ucr.com.hk>)
Список pgsql-interfaces
"Frankie Lam" <frankie@ucr.com.hk> writes:
> I wonder if there is a timeout feature for limiting the lifetime of a
> connection in libPQ.

There is not.  I don't think it's libpq's business to be deciding
whether the connection is lost or not --- that is the province of
the kernel's TCP stack.  IMHO we should not second-guess the transport
layer.
        regards, tom lane


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

Предыдущее
От: "Frankie Lam"
Дата:
Сообщение: Any timeout feature(in libPQ) suitable for my case?
Следующее
От: Matthew Vanecek
Дата:
Сообщение: Re: Connection Error message in ECPG