Denis Gasparin wrote:
I developed some patches for PDO/Postgresql driver in order to add some useful \
methods that were available in the original pgsql driver.

p...@lists.php.net is the right place for PDO development ;)

Ops sorry :-) I will post the patches also to that list.

But more important, any NEW functions should be generic. Otherwise why not
simply use the pgsql driver. Proliferating different driver specific functions
is not supposed to be happening in PDO?

I agree with you but this is not always possible.

In particular you'll need two database connections (one with the original 
driver and one with PDO) in order to use the native copy* functions.

The ideal thing would be to share the connection resource between old driver 
and PDO one...
I tried without success this way before implementing the new PDO methods.

That is my 'complaint' about PDO in general .... Some of the facilities provided by Firebird simply can't be implemented inside PDO at all. Cross connection transactions for instance.

The core of PDO needs something of an overhaul to allow it to play well with the 'old drivers' since it only the 'old drivers' that people ARE developing ... rather than adding new features directly into PDO.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to