Magnus Hagander <magnus@hagander.net> writes:
> Attached patch fixes this in my testcase. Can anybody spot something
> wrong with it?
It depends on tolower(), which is going to have LC_CTYPE-dependent
behavior, which is surely wrong?
regards, tom lane