Re: idle connection timeout ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: idle connection timeout ...
Дата
Msg-id 19558.1035516425@sss.pgh.pa.us
обсуждение исходный текст
Ответ на idle connection timeout ...  ("Marc G. Fournier" <scrappy@hub.org>)
Ответы Re: idle connection timeout ...  ("Marc G. Fournier" <scrappy@hub.org>)
Список pgsql-hackers
"Marc G. Fournier" <scrappy@hub.org> writes:
>     just went through the new config files for v7.3, to make sure, but
> it doens't look like we have such ... has anyone looked at adding a 'idle
> timeout' for a postgres process?  Or am I missing something in the docs?

Are you looking for the backend to arbitrarily disconnect from a client
that hasn't done anything in X amount of time?  Seems to me that has
been proposed and rejected, more than once.

We already have logic that checks for loss of connectivity (see TCP
keepalive option).  If the client is *still there*, but has just not
chosen to issue any commands lately, I have a very hard time buying
any argument that it is the backend's province to abort the connection.
That's a recipe for degrading reliability, not improving it.
        regards, tom lane


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

Предыдущее
От: "D. Hageman"
Дата:
Сообщение: Re: Postgresql and multithreading
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump and large files - is this a problem?