Add wchar -> mb conversion routines.

Robert Haas <rhaas@postgresql.org>

Commit: 72dd6291f216440f6bb61a8733729a37c7e3b2d2
Author: Robert Haas <rhaas@postgresql.org>
Date: 2012-07-04T21:10:10Z
Releases: 9.3.0
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

Files

PathChange+/−
src/backend/utils/mb/mbutils.c modified +22 −0
src/backend/utils/mb/wchar.c modified +205 −42
src/include/mb/pg_wchar.h modified +21 −3