RE: MDB patch and postgres driver

From: Date: Thu, 30 May 2002 11:22:24 +0000
Subject: RE: MDB patch and postgres driver
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-6654@lists.php.net to get a copy of this message
> OK, so I think I've hacked in an initial postgres driver for MDB. Wow! > Please find attached the pgsql.php file and a diff against common.php to > fix an infinite loop. I just copied mysql.php and hacked at it until it > kind of worked. Ok .. thats another option. I actually write a little howto that is in CVS (part Readme.txt), but I had some problems with packaging. Anyways there I suggested a slightly different approach, but yours seems to have worked out well (I will look at the code later). > Some things I haven't touched yet like sequences, so you'll still see > mysql_* funtions here and there. Also, since I'm running php 4.1.2 I'm > using the older style postgres API - figured it would be easier to > modernize later once I have it working :) alright > IMHO the number one thing MDB needs (from the perspective of an outside > developer dipping into the project) is PHPDoc comments. It's really > helpful when I'm rewriting methods to know what's coming in and what > supposed to go out, and what the method is supposed to do inbetween. > Thats more useful than anything else. LIMBOURG Arnaud [arnaud.limbourg@cegetel.fr] wanted to help out there, but he is swamped with work and therefore did not get started yet. If you also want to help out in thet respect :-) I am actually currently incorporating some changes that Metabase currently has in beta: - some bug fixes - loading all rdbms management methods on demand - creating an xml schema file from an existing rdbms Actually I am done with those and I am now just playing around with the xml schema manager (something which I have regretfully not done a lot with uptil now) > Also I would have thought it would be sensible to stick the drivers in a > subdirectory, to make things clearer. Yeah .. the number of files is getting larger and larger, so I will probably start moving things into subdirs pretty soon. Best regards, Lukas Smith smith@dybnet.de _______________________________ DybNet Internet Solutions GbR Reuchlinstr. 10-11 Gebäude 4 1.OG Raum 6 (4.1.6) 10553 Berlin Germany Tel. : +49 30 83 22 50 00 Fax : +49 30 83 22 50 07 www.dybnet.de info@dybnet.de

« previous php.pear.dev (#6654) next »