FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » FUDforum v2.8.0 errors (PostgreSQL)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: FUDforum v2.8.0 errors [message #158928 is a reply to message #158927] Thu, 16 April 2009 15:03 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
More info:

Somehow PostgresQL doesn't like queries like:
SELECT cat_opt, (cat_opt & 4)=4 FROM fud28_cat


MySQL returns:
cat_opt (cat_opt & 4)=4
3       0      


But PgSQL returns:
cat_opt ?column?       
3       f      


The problem was solved by removing the bitwise operation from the query and implementing it in PHP code.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Picture problem
Next Topic: i18n characters not showing in dates! (utf-8)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 21:29:59 GMT 2024

Total time taken to generate the page: 0.04275 seconds