Closed (fixed)
Project:
Version Control API -- Git backend
Version:
6.x-1.2-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2008 at 15:45 UTC
Updated:
26 Apr 2009 at 20:10 UTC
I get these errors when I enable the versioncontrol_git module...
* warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "(" LINE 5: repo_id int(11) NOT NULL, ^ in /home/rmh3093/public_html/includes/database.pgsql.inc on line 125.
* user warning: query: CREATE TABLE versioncontrol_git_latest_commits ( lastest_commits_id int NOT NULL, branch_id int NOT NULL, revision varchar(255) NOT NULL, repo_id int(11) NOT NULL, PRIMARY KEY (lastest_commits_id) ) in /home/rmh3093/public_html/includes/database.pgsql.inc on line 144.
Comments
Comment #1
jpetso commentedI guess that's the "(11)" after the "int" type specification. Please uninstall the module, remove the "(11)" and try installing it again.
Comment #2
rmh3093 commentedyeah I've done that... and that does allow for the module to enable properly, but I still get other sql errors
Comment #3
boombatower commentedI don't have a postgress setup to test code on. If you can give me details on what errors you can I can try to fix them.
I have been rather busy and apologize for the lag in response.
Comment #4
boombatower commentedAppears to be issue with creating table schema...this will be fixed in #303680: Port to 6.x
Comment #5
CorniI commentedAs we dropped nearly all schemas for vc_git in #303680: Port to 6.x but I did no tests with psql, this may be still an issue (but I doubt it) so i'm re-opening till someone (me) gets around to install psql to test this.
Comment #6
marvil07 commented:-D
I have just tried it with PostgreSQL and it works now!
thanks schema ;-)