Search Postgresql Archives

Re: to_tsvector in 8.2.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
                                                   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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux