On Mon, May 24, 2010 at 8:56 PM, Ilia Alshanetsky <i...@prohost.org> wrote: > 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.
The original specs did not specify any way to do such things in a clean and nice way. It is also relatively obvious than having drivers specific features in the "core" PDO was a mistake. I also did not say that we should not have driver specific additions to PDO but if we do it, we actually need to discuss how we want to do it. And this discussion has began (w/o much activities) on the PDO lists. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php