Re: tsearch2: language or encoding - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: tsearch2: language or encoding
Date
Msg-id Pine.LNX.4.64.0707121802470.20068@sn.sai.msu.ru
Whole thread Raw
In response to tsearch2: language or encoding  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-hackers
Tatsuo,

fts configuration doesn't related to the encoding ! It's fully up to you
how to combine parser and dictionaries.

The problem arise only if you want
to define somehow so-called default configuration, which, as I inclined
now, is a bad feature. We choose locale name to identify default confgiuration,
for 8.3 people suggested to have language name.

Oleg
On Fri, 6 Jul 2007, Tatsuo Ishii wrote:

> Hi,
>
> I'm wondering if a tsearch's configuration is bound to a language or
> an encoding. If it's bound to a language, there's a serious design
> problem, I would think. An encoding or charset is not necessarily
> bound to single language. We can find such that example everywhere(I'm
> not talking about Unicode here). LATIN1 inclues English and several
> european languages. EUC-JP includes English and Japanese etc. And
> we specify encoding for char's property, not language, I would say the
> configuration should be bound to an encoding.
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>               http://archives.postgresql.org
>
    Regards,        Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: compiler warnings on the buildfarm
Next
From: Magnus Hagander
Date:
Subject: Re: Need help with autoconf