Re: pg_trgm

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_trgm
Дата
Msg-id 14655.1274969745@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_trgm  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: pg_trgm  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
>> 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.

Exactly what do you consider to be the missing functionality?
You need a notion of word vs non-word character from somewhere,
and the locale setting is the standard place to get that.  The
core text search functionality behaves the same way.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Streaming Replication: Checkpoint_segment and wal_keep_segments on standby
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pg_trgm