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: (view raw, whole thread or download thread mbox)
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
The Enterprise PostgreSQL Company

In response to


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-2017 The PostgreSQL Global Development Group