Skip site navigation (1) Skip section navigation (2)

Re: Inverse convertion for pg_mb2wchar

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 (view raw or flat)
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

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-11-30 20:33:14
Subject: Re: Refactoring on DROP/ALTER SET SCHEMA/ALTER RENAME TO statement
Previous:From: Robert HaasDate: 2011-11-30 20:29:02
Subject: Re: WIP: index support for regexp search

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group