Index to support LIKE '%suffix' queries

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Index to support LIKE '%suffix' queries
Дата
Msg-id 87mzgfh69m.fsf@mid.deneb.enyo.de
обсуждение исходный текст
Ответы Re: Index to support LIKE '%suffix' queries
Список pgsql-sql
Is it possible to create an index to support queries of the form
"column LIKE '%suffix'" (similar to an ordinary index for LIKE
'prefix%', which I also need)?

I could define a function which reverts strings (or revert them in the
application) and use a normal B-tree index, but I wonder if there is a
better way.


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

Предыдущее
От: Richard C
Дата:
Сообщение: Re: "Installing" dbLink
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: After Trigger assignment to NEW