Re: [PATCHES] Text <-> C string

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Text <-> C string
Дата
Msg-id 13684.1206732381@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Text <-> C string  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: [PATCHES] Text <-> C string  ("Brendan Jurd" <direvus@gmail.com>)
Список pgsql-hackers
"Brendan Jurd" <direvus@gmail.com> writes:
> On 26/03/2008, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> There are no textout/textin calls left, but I may have missed some
>> places that were doing it the hard way with direct palloc/memcpy
>> manipulations.  It might be worth trolling all the VARDATA() references
>> to see if any more are easily replaceable.

> I think there are perhaps a dozen such sites, and I hope to submit a
> cleanup patch that gets rid of these soon.
> I did come across one site I'm not sure about in utils/adt/xml.c:291

I intentionally didn't touch xml.c, nor anyplace that is not dealing
in text, even if it happens to be binary-compatible with text.

            regards, tom lane

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: [PATCHES] Implemented current_query
Следующее
От: "Brendan Jurd"
Дата:
Сообщение: Re: [PATCHES] Text <-> C string