Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OsCommerce with PostgreSQL


Guest

Recommended Posts

Posted

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

  • 9 months later...
Posted

how is this going? i need postgresql integration

  • 5 years later...
Posted
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...