]> granicus.if.org Git - postgresql/commit
Clean up ts_locale.h/.c. Fix broken and not-consistent-across-platforms
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Nov 2007 22:37:35 +0000 (22:37 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 9 Nov 2007 22:37:35 +0000 (22:37 +0000)
commit654dcfb9e4b6ba44df63fcb0c73403a82f05338c
tree93bcb78b7e9d53ddd305ba4f28793addfe7976dc
parent83290b678da534b351ebf8e53bfef5add847535c
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.
src/backend/tsearch/ts_locale.c
src/backend/tsearch/ts_utils.c
src/backend/tsearch/wparser_def.c
src/include/tsearch/ts_locale.h
src/include/tsearch/ts_public.h