PQescapeBytea is not multibyte aware

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема PQescapeBytea is not multibyte aware
Дата
Msg-id 20020405152453A.t-ishii@sra.co.jp
обсуждение исходный текст
Ответы Re: PQescapeBytea is not multibyte aware  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
PQescapebytea() is not multibyte aware and will produce bad multibyte
character sequences. Example:

INSERT INTO t1(bytea_col) VALUES('characters produced by
PQescapebytea');
ERROR:  Invalid EUC_JP character sequence found (0x8950)

I think 0x89 should be converted to '\\211' since 0x89 of 0x8950 is
considered as "non printable characters".

Any objection?
--
Tatsuo Ishii


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: Changing column types...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Linux/mips compile: [Fwd: Bug#139003: a little bit more