Thread: pgsql: Add wchar -> mb conversion routines.

pgsql: Add wchar -> mb conversion routines.

From
Robert Haas
Date:
Add wchar -> mb conversion routines.

This is infrastructure for Alexander Korotkov's work on indexing regular
expression searches.

Alexander Korotkov, with a bit of further hackery on the MULE conversion
by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/72dd6291f216440f6bb61a8733729a37c7e3b2d2

Modified Files
--------------
src/backend/utils/mb/mbutils.c |   22 ++++
src/backend/utils/mb/wchar.c   |  247 +++++++++++++++++++++++++++++++++-------
src/include/mb/pg_wchar.h      |   24 ++++-
3 files changed, 248 insertions(+), 45 deletions(-)