Re: question about char/wchar/mb utils - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: question about char/wchar/mb utils
Date
Msg-id Pine.GSO.4.58.0403101713560.8244@chailly99
Whole thread Raw
In response to question about char/wchar/mb utils  (Fabien COELHO <coelho@cri.ensmp.fr>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: optimizing impossible matches
Next
From: Kris Jurka
Date:
Subject: Re: grants