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

Home » FUDforum Development » Bug Reports » Bug related to file attachments when using FUDforum with PostgreSQL
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: FUDforum 2.8.0RC1 Released [message #158122 is a reply to message #158121] Mon, 02 February 2009 14:16 Go to previous messageGo to previous message
lstep is currently offline  lstep   France
Messages: 50
Registered: June 2003
Karma:
Member

naudefj wrote on Mon, 02 February 2009 14:11
Hi Luc,

What does the "::text" part do? It looks like a typecast. Will this patch break MySQL or SQLlite support?



That's because PostgreSQL, when receiving a call from this function, get in id an integer, but the function in PostgreSQL has a signature "text,text", so it doesn't find a "text,integer" signature, and thus doesn't recognize that function.
So here, we force the definition of "text" so that the signature is correct.
As of knowing if that breaks anything if someone is using MySQL or sqlite, I really have no idea, sorry Confused
[Message index]
 
Read Message
Read Message
Read Message
Read Message icon8.gif
Read Message
Read Message
Previous Topic: No correct show any symbols
Next Topic: Don't login
Goto Forum:
  

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

Current Time: Wed Nov 27 07:43:30 GMT 2024

Total time taken to generate the page: 0.03683 seconds