MDB postgres driver and MDB patch
| From: | Paul Cooper | Date: | Wed, 19 Jun 2002 15:14:00 +0000 |
| Subject: | MDB postgres driver and MDB patch | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-7210@lists.php.net to get a copy of this message | ||
I've been working on constructing a postgres driver for MDB. Following
the instructions in the MDB readme I've ported the metabase driver,
added methods from PEAR DB postgres driver as needed. You can get it
from here,
http://sparky.ucecom.com/~pgc/MDB/pgsql.phps
I tried to go through the code and reformat to the pear cs. I haven't
added the license. I presume we have permission to relicense metabase
components into pear?
I made some changes to common.php in the process of developing /
debugging, see attached diff.
It copes with everything in MDB_test.php (minus stuff on the todo :).
TODO
* sort out sequences and nextId
* write / port a manager class
* BLOB stuff - never really used BLOBs so this will be last
* more PHPDoc and docs in general
* more robust testing framework
Paul
--
-----------------------------------------------------------------
Paul Cooper | Tel: 0121 331 7858
Senior Programmer and Database Engineer | Fax: 0121 331 7859
UCEcom | mailto:pgc@ucecom.com
University of Central England | http://www.ucecom.com
Birmingham, B4 7DX |
-----------------------------------------------------------------
Attachment: [text/x-patch] common.diff
Attachment: [text/x-patch] common.diff