Re: integrated tsearch has different results than tsearch2 - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: integrated tsearch has different results than tsearch2
Date
Msg-id 162867790709040543m1468abefj1d02d528df92fd2f@mail.gmail.com
Whole thread Raw
In response to Re: integrated tsearch has different results than tsearch2  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
List pgsql-hackers
2007/9/4, Heikki Linnakangas <heikki@enterprisedb.com>:
> Pavel Stehule wrote:
> > I used dictionaries from fedora core packages
> >
> > hunspell-cs-20060303-5.fc7.i386.rpm
> >
> > then I converted it to utf8 with iconv
>
> Ok, thanks.
>
> Apparently it's a bug I introduced when I refactored spell.c to use the
> readline function for reading and recoding the input file. I didn't
> notice that some calls to STRNCMP used the non-lowercased version of the
> input line. Patch attached.
>
> --

It works

Thank you
Pavel


pgsql-hackers by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: integrated tsearch has different results than tsearch2
Next
From: "Kevin Grittner"
Date:
Subject: Re: Updatable cursor doubt