Re: [HACKERS] [ADMIN] invalid multibyte character for locale

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] [ADMIN] invalid multibyte character for locale
Дата
Msg-id 2963.1110865923@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] [ADMIN] invalid multibyte character for locale  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] [ADMIN] invalid multibyte character for locale
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Kerberos code overwrites it's own error message