Skip site navigation (1) Skip section navigation (2)

Re: pg_trgm

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: andres(at)anarazel(dot)de
Cc: pgsql-hackers(at)postgresql(dot)org, ishii(at)postgresql(dot)org, teodor(at)sigaev(dot)ru
Subject: Re: pg_trgm
Date: 2010-05-27 12:40:41
Message-ID: 20100527.214041.22133467.t-ishii@sraoss.co.jp (view raw or flat)
Thread:
Lists: 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

In response to

  • Re: pg_trgm at 2010-05-27 12:18:17 from Andres Freund

Responses

  • Re: pg_trgm at 2010-05-27 13:06:53 from Andres Freund

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-05-27 12:48:51
Subject: Re: Synchronization levels in SR
Previous:From: Fujii MasaoDate: 2010-05-27 12:21:36
Subject: Re: Synchronization levels in SR

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group