Re: [PATCH] Patch to fix a crash of psql

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [PATCH] Patch to fix a crash of psql
Дата
Msg-id 20121201.015539.1981741386316893807.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: [PATCH] Patch to fix a crash of psql  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
> I think the message should be more precise.  Nobody will know what an
> "encoding conflict" is.  The error condition is "last multibyte
> character ran over end of file" or something like that, which should be
> clearer.

"last multibyte character ran over" is not precise at all because the
error was caused by each byte in the file confused PQmblen, not just
last multibyte character. However to explain those in the messgae is
too technical for users, I'm afraid. Maybe just "encoding mismatch
detected. please make sure that input file encoding is SJIS" or
something like that?
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp



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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [PATCH] Patch to fix a crash of psql
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: WIP json generation enhancements