tsearch2 & unicode

From: Michal Hlavac <hlavki(at)hlavki(dot)sk>
To: pgsql-general(at)postgresql(dot)org
Subject: tsearch2 & unicode
Date: 2005-09-06 16:06:25
Message-ID: 431DBE81.1040309@hlavki.sk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hello,

I have suse 9.3 with installed postgresql 8.0.3 from rpm.
All my databases are unicode with locale sk_SK.UTF-8.
I installed slovak ispell dictionary and tsearch2 is working very well.

m13=# SELECT lexize('sk_ispell','Ivana');
lexize
--------------
{ivana,ivan}
(1 row)

On the other side I have FreeBSD also with postgresql 8.0.3 and with
unicode database. I also installed slovak ispell dictionary and tsearch2
is working very well.
but result:
hlk=# SELECT lexize('sk_ispell','Ivana');
ERROR: Regex error in 'ia[t�ina$': brackets [] not balanced

where is the problem??? thanks, miso

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lincoln Yeoh 2005-09-06 16:56:12 Re: Setting up a database for 10000 concurrent users
Previous Message Tom Lane 2005-09-06 15:20:47 Re: long transactions, SAVEPOINTS, performance and memory consumption