Hwo to set timeout for PHP persistent connections

Поиск
Список
Период
Сортировка
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 по дате отправления: