Re: pg_trgm

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_trgm
Дата
Msg-id 15313.1274971977@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_trgm  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: pg_trgm  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> ! #define iswordchr(c)    (t_isalpha(c) || t_isdigit(c) || (lc_ctype_is_c() && !t_isspace(c)))

This seems entirely arbitrary.  It might "fix" things in your view
but it will break the longstanding behavior for other people.

I think a more appropriate type of fix would be to expose the
KEEPONLYALNUM option as a GUC, or some other way of letting the
user decide what he wants.
        regards, tom lane


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: pg_trgm
Следующее
От: Greg Stark
Дата:
Сообщение: Re: pg_trgm