Re: default_text_search_config

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: default_text_search_config
Дата
Msg-id 20071005.172103.66728907.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: default_text_search_config  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: default_text_search_config  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Список pgsql-hackers
> The correct solution is probably we will have multiple locales in
> single database cluster. We should set the locale after deciding
> the encoding nowm, but I think the current implementation is wrong
> because locale depends on encoding, but the opposite is not true.
> (locale = 'language_country.*encoding*')
> 
> If you will go to the multiple text-search support, we'd better to
> get done the locale issue first. It might affect your new parser.

I'm not sure the locale per database solution is a silver bullet.
With this, still we cannot solve the issue, for example, a LATIN1
encoded text includes several languages at a time, thus it needs
multiple locales. Or we cannot have multiple different language
columns, tables at a time because it requires multiple locales. Same
thing can be said to Unicode too. After all it seems a half baked
solution to me.
--
Tatsuo Ishii
SRA OSS, Inc. Japan


В списке pgsql-hackers по дате отправления:

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: default_text_search_config
Следующее
От: Simon Riggs
Дата:
Сообщение: Release Notes Overview