Re: to_tsvector in 8.2.3

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: richardcraig <richard(at)v3fm(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: to_tsvector in 8.2.3
Date: 2007-03-22 13:47:32
Message-ID: 20070322134732.GB5635@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Mar 21, 2007 at 09:13:55PM +0300, Teodor Sigaev wrote:
> >postgres=# select to_tsvector('test text');
> > to_tsvector
> >---------------
> > 'test text':1
> >(1 row)
> Ok. that's related to
> http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/wordparser/parser.c.diff?r1=1.11;r2=1.12;f=h
> commit. Thomas pointed that it can be non-breakable space (0xa0) and that
> commit assumes any character with C locale and multibyte encoding and >
> 0x7f is alpha.
> To check theory, pls, apply attached patch.
>
> If so, I'm confused, we can not assume that 0xa0 is a space symbol in any
> multibyte encoding, even in Windows.

Nope, same result with this patch.

//Magnus

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2007-03-22 14:46:23 Deadlock with REINDEX TABLE
Previous Message Lutz Broedel 2007-03-22 13:40:33 using 'ALTER ROLE' in a function