Re: [PATCH] New PDO methods for PostgreSQL driver

From: Date: Thu, 03 Jun 2010 20:31:31 +0000
Subject: Re: [PATCH] New PDO methods for PostgreSQL driver
References: 1  Groups: php.internals php.pdo 
Request: Send a blank email to internals+get-48629@lists.php.net to get a copy of this message
Hi. It is similar to what I tried to do with the pgsql driver (look at my previous post). I could try to restore the old patch, compare with your and then re-test it.. If this is the way to follow, then the optimal solution (?) would be to add a standard function to the pdo driver that translates the connection between old driver and PDO one (there could be some problems because of different same DMBS drivers (mysql, mysqli for example)). Denis ----- Messaggio originale ----- > Da: "Johannes Schlüter" <johannes@schlueters.de> > A: "Denis Gasparin" <denis.gasparin@edistar.com> > Cc: "Pierre Joye" <pierre.php@gmail.com>, "Jonathan Wage" > <jonwage@gmail.com>, "Ilia Alshanetsky" <ilia@prohost.org>, > "Matteo Beccati" <php@beccati.com>, internals@lists.php.net, "pdo" > <pdo@lists.php.net>, "Ferenc Kovacs" > <info@tyrael.hu> > Inviato: Giovedì, 3 giugno 2010 22:19:57 > Oggetto: Re: [PHP-DEV] [PATCH] New PDO methods for PostgreSQL driver > On Thu, 2010-06-03 at 21:48 +0200, Denis Gasparin wrote: > > As I wrote last week, according to me too the best solution > > would be to share the PDO opened connection between the old > > pgsql driver and the PDO one > > That was the original way we tried to develop the patch > > without success. > > Would be helpful to tell what your problem was. > > https://code.launchpad.net/~johannes-s/php-mysqlnd/pdo2mysqli > is a > branch adding a pdo::toMysqli() method. I won't commit it to PHP in > that form but should be a good start. I don't know much about the > pgsql extension, but maybe it helps. > > johannes

« previous php.internals (#48629) next »