Re: pg_trgm

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: pg_trgm
Дата
Msg-id AANLkTimHysZVq8bymu92DfOxzDiOeAa2XaL1LxP3y_GY@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_trgm  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_trgm  (Tatsuo Ishii <ishii@postgresql.org>)
Список pgsql-hackers
On Thu, May 27, 2010 at 3:52 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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.
>

So I think a GUC is broken because pg_tgrm has a index opclasses and
any indexes built using one setting will be broken if the GUC is
changed.

Perhaps we need two sets of functions (which presumably call the same
implementation with a flag to indicate which definition to use). Then
you can define an index using one or the other and the meaning would
be stable.

-- 
greg


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_trgm
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Specification for Trusted PLs?