Fix bug http://archives.postgresql.org/pgsql-bugs/2006-10/msg00258.php.
Teodor Sigaev <teodor@sigaev.ru>
Fix bug http://archives.postgresql.org/pgsql-bugs/2006-10/msg00258.php. Fix string's length calculation for recoding, fix strlower() to avoid wrong assumption about length of recoded string (was: recoded string is no greater that source, it may not true for multibyte encodings) Thanks to Thomas H. <me@alternize.com> and Magnus Hagander <mha@sollentuna.net>
Files
| Path | Change | +/− |
|---|---|---|
| contrib/tsearch2/dict_ex.c | modified | +4 −2 |
| contrib/tsearch2/dict_snowball.c | modified | +5 −3 |
| contrib/tsearch2/dict_syn.c | modified | +7 −4 |
| contrib/tsearch2/ispell/spell.c | modified | +47 −28 |
| contrib/tsearch2/stopword.c | modified | +9 −7 |
| contrib/tsearch2/ts_locale.c | modified | +59 −18 |