Wim <wdh@belbone.be> writes:
>> Hm. Are you running in a multibyte character encoding? I had a note
>> that make_greater_string may have problems in the MULTIBYTE case.
> Yes, I compiled postgres with multibyte and ODBC support .
But are you actually *using* the multibyte code? What does "psql -l"
show as the encoding for your database?
regards, tom lane