Re: integrated tsearch has different results than tsearch2

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
Cc: "Teodor Sigaev" <teodor(at)sigaev(dot)ru>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: integrated tsearch has different results than tsearch2
Date: 2007-09-04 12:43:04
Message-ID: 162867790709040543m1468abefj1d02d528df92fd2f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2007/9/4, Heikki Linnakangas <heikki(at)enterprisedb(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2007-09-04 13:38:48 Re: Updatable cursor doubt
Previous Message Heikki Linnakangas 2007-09-04 12:35:08 Re: integrated tsearch has different results than tsearch2