Re: [PDO] PostgreSQL auto-reconnect in PDO contructor for permanent connections: request for comments
[email protected] (Matteo Beccati) Thu, 01 Apr 2010 01:53:16 +0200
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
On 01/04/2010 01:25, Marc Barilley wrote: > I don't think this is a bug per se, just a missing feature. Some > programmers may want a thorough check of the connection while some may > not. Both have their benefits and drawbacks. I think it is up to the > programmer to choose if the connection needs to be checked or not. As long as the old behaviour is the default, I'm ok with it. > I'm curious to know if you have more precise informations about the > conditions when the API can block. This could help :) Thank you. Since you mentioned pgbouncer, I recall having had troubles with clients being blocked by it when the database was not reachable. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/