pgsql: Fix bug
pgsql: Fix bug
От:
teodor@postgresql.org (Teodor Sigaev)
Дата:
Log Message:
-----------
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. and Magnus Hagander
Modified Files:
--------------
pgsql/contrib/tsearch2:
dict_ex.c (r1.8 -> r1.9)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_ex.c.diff?r1=1.8&r2=1.9)
dict_snowball.c (r1.12 -> r1.13)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_snowball.c.diff?r1=1.12&r2=1.13)
dict_syn.c (r1.9 -> r1.10)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_syn.c.diff?r1=1.9&r2=1.10)
stopword.c (r1.9 -> r1.10)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/stopword.c.diff?r1=1.9&r2=1.10)
ts_locale.c (r1.6 -> r1.7)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ts_locale.c.diff?r1=1.6&r2=1.7)
pgsql/contrib/tsearch2/ispell:
spell.c (r1.33 -> r1.34)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/ispell/spell.c.diff?r1=1.33&r2=1.34)