| Project: | Ubercart Contributions |
| Component: | Code |
| Category: | |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
All,
I installed Ubertcart for the first time today and I happen to run PostgreSQL in lue of MySQL.
The modules are not even close to run on PostgreSQL.
query: CREATE TABLE uc_shipments ( sid integer UNSIGNED NOT NULL default 0, order_id integer UNSIGNED NOT NULL default 0, o_first_name varchar(255) NOT NULL default '', o_last_name varchar(255) NOT NULL default '', o_company varc.........fault 0.00, PRIMARY KEY (sid) ); in ....includes/database.pgsql.inc on line 144.
And it goes on like that for pages and pages in the logs.
Various Items Wrong:
UNSIGNED
meduimint
smallint(4), etc
KEY ...(...) - KEY is not valid. What do you want just an index? Or do you want it
UNIQUE?
Insert formatted for MySQL
Is this mySQL specific:
db_query("DELETE FROM {sequences} WHERE name LIKE '{uc_zones}_zone_id'");
I made a ton of changes that I will post back as patches but I have more questions that may need to be answered by someone with intimate details about Ubercart.
Any help leading me to that person would be great and I would love to take part in the PostgreSQL fixing.
Cheers,
-p





Built-in support perhaps?

