Hi Gustaf,
psql (9.1.23) and categories 1.1.3d5
I saw the script changes the datatype directly to char. Good. I thought about solution. But, as at the time I solved it, casting the variable, I haven't had the certainty neither visibility of the impact that such a datatype change would have along the source code
Then I decided to CAST the variable on every broken piece of code that appear while I was browsing the package and creating the stuff.
Bug is created. #3298
https://openacs.org/bugtracker/openacs/bug?bug_number=
Best wishes