Re: pg_trgm - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_trgm
Date
Msg-id 14053.1275007476@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_trgm  (Tatsuo Ishii <ishii@postgresql.org>)
Responses Re: pg_trgm
List pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> similarity -> generate_trgm -> find_word -> iswordchr -> t_isalpha -> isalpha

> if locale is C and USE_WIDE_UPPER_LOWER defined which is the case in
> most modern OSs.

Quite.  And *if locale is C then only standard ASCII letters are letters*.
You may not like that but it's not wrong; in fact any other behavior
would be wrong.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: List traffic
Next
From: Tom Lane
Date:
Subject: Re: pg_trgm