Closed (fixed)
Project:
Frequently Asked Questions
Version:
5.x-2.1-1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
19 Apr 2007 at 18:22 UTC
Updated:
23 Apr 2007 at 09:51 UTC
I tried to install this module with a Postgres DB and it fails to create the table faq_weights
I think the reason is that in faq.install in the sql expression that creates the table the part "DEFAULT 0" should be written as "DEFAULT '0' ", I compared this install file with others and there it was written like this. You have to replace the single quotes around the sql expression by double quotes in order to do this.
HTH
Comments
Comment #1
jensKhmerOS commentedsorry my report was wrong.
The real reason why the creation fails is the word UNSIGNED in the sql statement. After I removed this it worked well.
But reading the code I wonder why for mysql for the field wight a small integer is used but for postgres not?
Comment #2
stella commentedfixed in CVS, will be included in the next release.
Comment #3
stella commentedreleased in faq 5.x-2.2