Closed (fixed)
Project:
Advanced Poll
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2006 at 08:55 UTC
Updated:
19 Mar 2007 at 03:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
jaydub commenteda quick shows that some of the queries don't play well with the PostgreSQL boolean type so the fields I set as boolean should perhaps instead be smallint.
Comment #2
ChrisKennedy commentedThanks for the patch - I don't have postgresql unfortunately but if you can do a little more testing and update the patch I will commit it to 4.7 and port it to 5.0 also.
Comment #3
ChrisKennedy commentedI went ahead and committed this to HEAD in the hopes that someone will test it; booleans were changed to smallints. Possibly buggy PostgreSQL support is better than no support after all. http://drupal.org/cvs?commit=46524
Comment #4
jaydub commentedhey there sorry I haven't been able to get back to you on PostgreSQL support. I have attached an updated patch to deal with 2 issues in the original .install pgsql support. First is setting default value of 0 for the quorum field in the advpoll table. Second is creation of PostgreSQL sequence table for storing current id of votingapi_cache.
Comment #5
ChrisKennedy commentedOkay I committed the quorum change, but the votingapi_cache sequence needs to be in the votingapi module, not advpoll.
http://drupal.org/cvs?commit=59180
Comment #6
(not verified) commented