Bruce Momjian <pgman@candle.pha.pa.us> writes: > Tom Lane wrote: >> Perhaps it would be reasonable to do something like this: >> >> #ifdef USE_WIDE_UPPER_LOWER >> /* >> * use wide char code only when max encoding length > one >> * and we aren't in C locale >> */ >> if (pg_database_encoding_max_length() > 1 && >> !lc_ctype_is_c())
> Tom, is this the fix you were thinking of? Seems like it would be a > good improvement. Please fix the comments not only the code ;-). Other than that, this is exactly what I meant. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster