Re: default_text_search_config - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: default_text_search_config
Date
Msg-id 20071005.125404.62248828.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: default_text_search_config  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: default_text_search_config
List pgsql-hackers
> Tatsuo Ishii <ishii@postgresql.org> writes:
> >> Well, that documentation is correct as far as it goes; what it doesn't
> >> say is that initdb's mapping table explicitly maps C/POSIX locales to
> >> english.  It seems like a reasonable default on this side of the water,
> >> but maybe I'm being too North-American-centric.
> 
> > Ok. Are you going to to add "initdb's mapping table explicitly maps
> > C/POSIX locales to english" to the doc? If no, I can do that part.
> 
> Before we worry about documenting the behavior, are you happy
> about it?  What could be done differently?  I'm wondering if it makes
> any sense to consider the specified database encoding while making
> the text-search decision ...

For me the idea that a text-search configuration maps to a
locale/language seems to be totally wrong. IMO an encoding/charset
could include several languages and a text-search configuration should
be mapped to an encoding/charset, rather than a language.  Apparently
this would not happen in the near future however.

Good thing is, text-search english configuration can handle multibyte
characters. So I can live with current text-search implementation.
--
Tatsuo Ishii
SRA OSS, Inc. Japan


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: default_text_search_config
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: default_text_search_config