Hwo to set timeout for PHP persistent connections

Поиск
Список
Период
Сортировка
От Gabriele Bartolini
Тема Hwo to set timeout for PHP persistent connections
Дата
Msg-id 1046708862.10972.8.camel@pc1119
обсуждение исходный текст
Ответы Re: Hwo to set timeout for PHP persistent connections  ("scott.marlowe" <scott.marlowe@ihs.com>)
Re: Hwo to set timeout for PHP persistent connections  (Steve Crawford <scrawford@pinpointresearch.com>)
Re: Hwo to set timeout for PHP persistent connections  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-general
Ciao guys,

   I need to set a reasonable low value of timeout for inactive
connections, as they seem to stay up when a PHP script calls a
pg_pconnect on the database server.

   As its main purpose is to serve a Web application, I'd love
connections to get close after 10-15 seconds of inactivity.

   Is there a run-time configuration I can set in Postgres?

Ciao and thanks
-Gabriele
--
Gabriele Bartolini - Web Programmer
Comune di Prato - Prato - Tuscany - Italy
g.bartol@comune.prato.it | http://www.comune.prato.it
> find bin/laden -name osama -exec rm {} ;

Вложения

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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: List Problems
Следующее
От: Dennis Gearon
Дата:
Сообщение: almost there on a design