This adds PostgreSQL support for the Project module, version 4.5.
NOTE! Apply patch http://drupal.org/node/16733 before this one -- otherwise it might not apply correctly and even if it did, the project pages won't show any "submit bug" links etc.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | sql_3.diff | 1.06 KB | Cvbge |
| #6 | sql_2.diff | 3.39 KB | Cvbge |
| #5 | sql_1.diff | 1.15 KB | Cvbge |
| #4 | project_1.pgsql | 3.02 KB | Cvbge |
| #3 | project_0.pgsql | 4.48 KB | Cvbge |
Comments
Comment #1
elonen commentedThe schema in the patch is missing a sequence creation statement:
CREATE SEQUENCE project_cid_seq INCREMENT 1 START 1;Comment #2
Cvbge commentedI've created project.pgsql from scratch (I've missed this bug report and didn't know there's already a patch for this)
It's against cvs, and I've only checked that the schema loads cleanly into postgres. I need to check differences between my and elonen's schemas.
Current version does not have needed sequences defined, I'll fix that later.
Comment #3
Cvbge commentedI've created project.pgsql from scratch (I've missed this bug report and didn't know there's already a patch for this)
It's against cvs, and I've only checked that the schema loads cleanly into postgres. I need to check differences between my and elonen's schemas.
Current version does not have needed sequences defined, I'll fix that later.
Comment #4
Cvbge commentedHere's new version, it's almost the same as previous one; mainly added missing seqences.
I'm not sure what is the correct equivalent of mysql's "blob" - "text" or "bytea"? Staying with text for now.
Elonen wrote in comment something about index on different data types 'suppressing' the index - I don't know anything about such things, haven't found any reference in google and postgres didn't give any warning when creating index. So for now I'll leave it with different data types, if anyone knows anything about this please tell me.
Comment #5
Cvbge commentedIt seems I can attach only one file at time :(
Will be attaching 3 files that fix following errors: (partially contains the same fixes as from elonen, updated for cvs version)
There are some fixes in eleonen's patch that are not included in my patch, as I they didn't occured for me.
sql_1.diff (the same as in eleonen's patch): when viewing project/user:
Comment #6
Cvbge commentedsql_2.diff: when viewing project/issues/user and no projects defined:
Comment #7
Cvbge commentedsql_3.diff (the same as in eleonen's patch): when viewing project/issues/statistics:
Comment #8
killes@www.drop.org commentedCommitted most recent pgsql file.
Committed sql_1.diff
Committed sql_3.diff
Committed sql_2.diff (last chunk)
Comment #9
(not verified) commented