Guest Posted May 16, 2003 Posted May 16, 2003 Hi @ all, I'm considering adapting OSCommerce to be compatible with postgreSQL. The only file that I should have to adapt is database.php, is this right? Somehow, I've also heard on this forum that someone had already done some work on this... Does anyone have the adapted (or partially adapted) database.php for postgre? This could save me some work... Otherwise I'll do it myself from the beginning. Thanks in advance to all that can help me on that topic... Best Regards. Jonas
Peter-L Posted April 3, 2009 Posted April 3, 2009 Hi @ all, I'm considering adapting OSCommerce to be compatible with postgreSQL. The only file that I should have to adapt is database.php, is this right? Somehow, I've also heard on this forum that someone had already done some work on this... Does anyone have the adapted (or partially adapted) database.php for postgre? This could save me some work... Otherwise I'll do it myself from the beginning. Thanks in advance to all that can help me on that topic... Best Regards. Jonas No that is not right. As well as all the database functions you will have to change every database query to fit in with STD SQL as a lot of them are MySQL specific. I tried to write a database abstraction layer for OSC, gave up after a year. You are talking about a complete rewite of the codebase. Don't even go there, wait for OSC to provide database abstraction, perhaps V4 or V5, not anytime in this decade thats for sure.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.