Re: PQescapeBytea is not multibyte aware

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: PQescapeBytea is not multibyte aware
Дата
Msg-id 20020408125202S.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: PQescapeBytea is not multibyte aware  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Joe Conway <mail@joeconway.com> writes:
> > No objection here, but can we wrap the change in #ifdef MULTIBYTE so 
> > there's no effect for people who don't use MULTIBYTE?
> 
> That opens up the standard set of issues about "what if your server is
> MULTIBYTE but your libpq is not?"  It seems risky to me.

I have committed changes to the current source (without MULTIBYTE
ifdes). Will change t.2-stable tree soon.

I also added some careful handlings for memory allocation errors and
changed some questionable codes useing direct ASCII values 92 instead
of '\\' for example.
--
Tatsuo Ishii


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: RFC: Restructuring pg_aggregate
Следующее
От: Thomas Swan
Дата:
Сообщение: Re: timeout implementation issues