Victor Snezhko <snezhko@indorsoft.ru> writes:
> Hmm, seems like plpgsql is also broken for multibyte encodings. it
> contains some single-byte ops, like the following:
> while (*s && isspace((unsigned char) *s))
> s++;
> if (*s++ != '.')
> elog(ERROR, "expected dot between identifiers: %s", sstart);
That code is not broken ... at least not unless isspace() is.
regards, tom lane