Re: [PATCH] New PDO methods for PostgreSQL driver

From: Date: Mon, 24 May 2010 18:56:44 +0000
Subject: Re: [PATCH] New PDO methods for PostgreSQL driver
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-48445@lists.php.net to get a copy of this message
Pierre, As one of the original authors of PDO that is news to me. PDO was designed to allow common functionality to be provided via a common interface, however it was also designed to recognize that not all database interfaces are the same. And as such allowed driver authors to provide custom functions specific to the driver. If you look at the existing driver set, nearly all drivers do that already (SQLite, MySQL, PostgreSQL)... Preventing addition of functionality for a driver, just because there are no equivalents in other DB interfaces, makes little sense, IMHO. On Mon, May 24, 2010 at 2:04 PM, Pierre Joye <pierre.php@gmail.com> wrote: > hi Ilia, > > On Mon, May 24, 2010 at 7:53 PM, Ilia Alshanetsky <ilia@prohost.org> > wrote: > > since when? PDO was designed to allow drivers to provide their own > > functions, which many drivers do. > > We discussed that on the PDO list, and we try to avoid to add drivers > specific methods. That's obviously makes sense given the goal of PDO. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | > http://www.libgd.org >

« previous php.internals (#48445) next »