Re: Inverse convertion for pg_mb2wchar - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Inverse convertion for pg_mb2wchar
Date
Msg-id CA+TgmoaKXbjZ2w57Z-MnGvgSb=9K7xq-RdE=Ly4W7zSSYUms5w@mail.gmail.com
Whole thread Raw
In response to Inverse convertion for pg_mb2wchar  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: Inverse convertion for pg_mb2wchar
List pgsql-hackers
On Mon, Nov 21, 2011 at 11:49 AM, Alexander Korotkov
<aekorotkov@gmail.com> wrote:
> I've a question about pg_mb2wchar function. Is there any way for inverse
> convertion pg_wchar* to char*?
> I've looked to pg_wchar_tbl table definition, and I didn't find anything
> about inverse transformation. So, any change to get inverse convertion?
> I'm experimenting with index support for regexp search and I'm trying to get
> some characters back from color map.

Well, any char can presumably also be represented as a wchar, but the
reverse isn't necessarily true...

(What's a color map?)

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: index support for regexp search
Next
From: Robert Haas
Date:
Subject: Re: loss of transactions in streaming replication