"Marko Kreen" <[EMAIL PROTECTED]> writes: > ATM I'm looking at str_tolower/upper internal implementation. > They do: > workspace[curr_char] = towlower(workspace[curr_char]); > where workspace is wchar_t but towlower() operates on wint_t.
IIRC this is exactly comparable to the type situation for the traditional <ctype.h> macros. The reason is that they are defined to accept EOF in addition to actual char (or wchar) values. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers