Ulrich Habel <espero7757(at)gmx(dot)net> writes:
> Anythings speeks against this hack?
Only that it was done years ago.
As Alvaro mentions, if you are using a non-C locale then you need
non-default index opclasses to get it to work. Non-C locales usually
have index sort orders that don't play nice with this conversion.
regards, tom lane