From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Inverse convertion for pg_mb2wchar |
Date: | 2011-11-30 20:30:08 |
Message-ID: | CA+TgmoaKXbjZ2w57Z-MnGvgSb=9K7xq-RdE=Ly4W7zSSYUms5w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Nov 21, 2011 at 11:49 AM, Alexander Korotkov
<aekorotkov(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-11-30 20:33:14 | Re: Refactoring on DROP/ALTER SET SCHEMA/ALTER RENAME TO statement |
Previous Message | Robert Haas | 2011-11-30 20:29:02 | Re: WIP: index support for regexp search |