Re: pg_trgm - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: pg_trgm
Date
Msg-id 20100527.214041.22133467.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: pg_trgm  (Andres Freund <andres@anarazel.de>)
Responses Re: pg_trgm
List pgsql-hackers
> > No, it doesn't.
> > Encoding is EUC_JP, locale is C. Included is the script to reproduce
> > the problem.
> test=# select show_trgm('日本語');
>                 show_trgm               
>  ---------------------------------------
>   {0x8194c0,0x836e53,0x1dc363,0x1e22e9}
>  (1 row)
>  
> Time: 0.443 ms
> test=# select similarity('日本語', '日本後');
>   similarity 
>  ------------
>     0.333333
>  (1 row)
>  
> Time: 0.426 ms
> 
> 
> Encoding is UTF-8...

What is your locale?
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Synchronization levels in SR
Next
From: Robert Haas
Date:
Subject: Re: Synchronization levels in SR