Re: [PDO] PostgreSQL auto-reconnect in PDO contructor for permanent connections: request for comments
[email protected] (Matteo Beccati) Mon, 19 Apr 2010 15:17:40 +0200
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
On 19/04/2010 14:08, Marc Barilley wrote: > Any more comments? Should I submit a feature request somewhere on a tracker? Just that I agree on what Chris said: >>> What it does is: >>> - define a new constant PDO::PGSQL_ATTR_PING_CONNECTION for the >>> driver-specific attributes >>> - this can be set to true or false ; default is true >> >> I'm still -1 on a driver-specific attribute. Similar functionality >> could be useful for other drivers so why not have a generic attribute? That said - I didn't have any time for PHP development lately, but I guess that a good way to proceed on this would be to start writing a small RFC that explains the new attribute, what it would do for PDO_PGSQL and why it is needed so that others can contribute with details on other RDBMS. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/