Hi! We have upgraded recently to a Ronin database and everything was working perfectly. But adding a CRC32 attribute to the index is giving some problems:
[RED] ERROR: function crc32(character varying) does not exist at character 369
[RED] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
I don't know hot to proceed becase the indexed attribute has too many options to discriminate with a case, and we would really like to use CRC32. Is there a way I could provide our database (not sahred!) with the proper function?
Thanks!
#1 Posted by Alejandro André... on 10 Feb, 2012 09:56 AM
Ok, I'm a fast asker and a slow researcher :D
I solved this by manually injecting the CRC32 function code from Thinking Sphinx into our DB:
Thank you again Pat for this awesome project! :D
#2 Posted by james on 12 Feb, 2012 09:57 AM
Sorry for the slow response, luckily adding the function yourself would've been my recommendation.
The regular thinking-sphinx gem creates the function for you, however it's disabled in flying-sphinx because of the shared database issue.
Pat Allan closed this discussion on 13 Jan, 2014 11:27 PM.