Re: PQescapeBytea is not multibyte aware

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQescapeBytea is not multibyte aware
Дата
Msg-id 29864.1018032052@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQescapeBytea is not multibyte aware  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> I think you're correct that in a client/database encoding mismatch 
> scenario, there would be bigger problems. Thoughts on this?

This scenario is probably why Tatsuo wants PQescapeBytea to octalize
everything with the high bit set; I'm not sure there's any lesser way
out.  Nonetheless, if UNKNOWN conversion introduces additional failures
then it makes sense to fix that.
        regards, tom lane


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: PQescapeBytea is not multibyte aware
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Suggestion for optimization