Hi,

I'm looking at making an RFC for subclassing PDO to expose database
specific methods in a less magic way, aka implementing what was
discussed here: https://externals.io/message/100773#100813

I have two questions for people who use the PDO with SQLite or Postgres

1. Are any of the functions that are specific to those databases
horribly designed and need changing? As the functions would be 'copied
across' from where they are now, changes could be made without having
horrible BC breaks.

That is, are any of these functions horrible to use:

PDO::pgsqlCopyFromArray
PDO::pgsqlCopyFromFile
PDO::pgsqlCopyToArray
PDO::pgsqlCopyToFile
PDO::pgsqlGetNotify
PDO::pgsqlGetPid
PDO::pgsqlLOBCreate
PDO::pgsqlLOBOpen
PDO::pgsqlLOBUnlink

SQLIte specific functions:
PDO::sqliteCreateAggregate
PDO::sqliteCreateCollation
PDO::sqliteCreateFunction

2. Other than the SQLite blobOpen functionality, does anyone know of
any other functionality that is exposed by SQLite or Postgres that
isn't currently exposed through the magic PDO methods?

cheers
Dan
Ack

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

Reply via email to