Clean up ts_locale.h/.c. Fix broken and not-consistent-across-platforms

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 654dcfb9e4b6ba44df63fcb0c73403a82f05338c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-11-09T22:37:35Z
Releases: 8.3.0
Clean up ts_locale.h/.c.  Fix broken and not-consistent-across-platforms
behavior of wchar2char/char2wchar; this should resolve bug #3730.  Avoid
excess computations of pg_mblen in t_isalpha and friends.  Const-ify
APIs where possible.

Files