[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [HACKERS] Inverse convertion for pg_mb2wchar
From: Robert Haas <robertmhaas () gmail ! com>
Date: 2011-11-30 20:30:08
Message-ID: CA+TgmoaKXbjZ2w57Z-MnGvgSb=9K7xq-RdE=Ly4W7zSSYUms5w () mail ! gmail ! com
[Download RAW message or body]
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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic