Re: pg_trgm

Tatsuo Ishii <ishii@postgresql.org>

From: Tatsuo Ishii <ishii@postgresql.org>
To: tgl@sss.pgh.pa.us
Cc: ishii@postgresql.org, andres@anarazel.de, pgsql-hackers@postgresql.org, teodor@sigaev.ru
Date: 2010-05-27T14:05:43Z
Lists: pgsql-hackers
> > Yes, pg_trgm seems to have problems with multibyte + C locale.
> 
> It's not a problem, it's just pilot error, or possibly inadequate
> documentation.  pg_trgm uses the locale's definition of "alpha",
> "digit", etc.  In C locale only basic ASCII letters and digits will be
> recognized as word constituents.

That means there is no chance to make pg_trgm work with multibyte + C
locale?  If so, I will leave pg_trgm as it is and provide private
patches for those who need the functionality.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp