Move wchar2char() and char2wchar() from tsearch into /mb to be easier to
commit2b6e59c20a3bdbccb87dae9b441ac32881b60ff1
authormomjian <momjian>
Wed, 18 Jun 2008 18:42:54 +0000 (18 18:42 +0000)
committermomjian <momjian>
Wed, 18 Jun 2008 18:42:54 +0000 (18 18:42 +0000)
tree8bd57768bd3b4dfdd5f822c65f09b8c587329921
parent1cc6d437569740a1126b57af173fcd15b7a708e6
Move wchar2char() and char2wchar() from tsearch into /mb to be easier to
use for other modules;  also move pnstrdup().

Clean up code slightly.
src/backend/tsearch/ts_locale.c
src/backend/tsearch/ts_utils.c
src/backend/utils/mb/mbutils.c
src/backend/utils/mmgr/mcxt.c
src/include/mb/pg_wchar.h
src/include/tsearch/ts_locale.h
src/include/tsearch/ts_public.h
src/include/utils/palloc.h