"Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com> writes: > str_towupper(inout); Since this wouldn't be a length-preserving change, it seems a bit scary to invent a function defined as above. (The whole question of buffer overflow in to_char needs to be looked at anyway, probably.) regards, tom lane