Re: to_tsvector in 8.2.3
| От | Teodor Sigaev |
|---|---|
| Тема | Re: to_tsvector in 8.2.3 |
| Дата | |
| Msg-id | 4602A837.8000905@sigaev.ru обсуждение исходный текст |
| Ответ на | Re: to_tsvector in 8.2.3 (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: to_tsvector in 8.2.3
|
| Список | pgsql-general |
Solved, see attached patch. I had found old Celeron-300 box and install Windows
on it, and it was very slow :)
> Nope, same result with this patch.
Thank you.
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/
*** ./contrib/tsearch2.orig/./wordparser/parser.c Thu Mar 22 18:39:23 2007
--- ./contrib/tsearch2/./wordparser/parser.c Thu Mar 22 18:51:23 2007
***************
*** 117,123 ****
{
if (lc_ctype_is_c())
{
! unsigned int c = *(unsigned int*)(prs->wstr + prs->state->poschar);
/*
* any non-ascii symbol with multibyte encoding
--- 117,123 ----
{
if (lc_ctype_is_c())
{
! unsigned int c = *(prs->wstr + prs->state->poschar);
/*
* any non-ascii symbol with multibyte encoding
В списке pgsql-general по дате отправления: