Re: question about char/wchar/mb utils

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: question about char/wchar/mb utils
Дата
Msg-id Pine.GSO.4.58.0403101713560.8244@chailly99
обсуждение исходный текст
Ответ на question about char/wchar/mb utils  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
> > If not, what are the other options?
>
> I don't think you have any: you have to use PQmblen.  Depending on wchar
> facilities would be unportable even if they did everything you wanted.

I meant pg_wchar. It's in the postgres source, should be pretty portable.

> It might be convenient to build an integer array of character start
> offsets and then work with that as if it were a wchar array.

Yep, I thought about this kind of thing.

Thanks for your advice,

-- 
Fabien Coelho - coelho@cri.ensmp.fr


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: optimizing impossible matches
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: grants