Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: to_tsvector in 8.2.3


  • From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
  • To: Magnus Hagander <magnus(at)hagander(dot)net>
  • Cc: richardcraig <richard(at)v3fm(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
  • Subject: Re: to_tsvector in 8.2.3
  • Date: Thu, 22 Mar 2007 19:00:55 +0300
  • Message-id: <4602A837(dot)8000905(at)sigaev(dot)ru>

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(at)sigaev(dot)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


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group