> > Problem with pg_trgm is, it uses isascii() etc. to recognize a letter,
> > which will skip any non ASCII range character in C locale.
> The only place I see that is in those ISPRINTABLE macros, which are only
> used in show_trgm(), which is just a debugging function. It could stand
> to be improved but it doesn't seem exactly critical.
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.
SRA OSS, Inc. Japan
In response to
pgsql-hackers by date
|Next:||From: Tom Lane||Date: 2010-05-28 00:42:09|
|Subject: Re: List traffic |
|Previous:||From: Josh Berkus||Date: 2010-05-28 00:36:12|
|Subject: Re: List traffic|