Hwo to set timeout for PHP persistent connections - Mailing list pgsql-general

From Gabriele Bartolini
Subject Hwo to set timeout for PHP persistent connections
Date
Msg-id 1046708862.10972.8.camel@pc1119
Whole thread Raw
Responses Re: Hwo to set timeout for PHP persistent connections
Re: Hwo to set timeout for PHP persistent connections
Re: Hwo to set timeout for PHP persistent connections
List 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 {} ;

Attachment

pgsql-general by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: List Problems
Next
From: Dennis Gearon
Date:
Subject: almost there on a design