Re: LIKE should use index when condition doesn't include

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: LIKE should use index when condition doesn't include
Дата
Msg-id 200403301656.09664.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: LIKE should use index when condition doesn't include  (Palle Girgensohn <girgen@pingpong.net>)
Ответы Re: LIKE should use index when condition doesn't include
Re: LIKE should use index when condition doesn't include
Список pgsql-performance
Palle,

> But what about ILIKE. It does not take advantage of indices built with
> lower():

Nope.  If you want to use a functional index, you'll need to use the function
when you call the query.   ILIKE is not somehow aware that it is equivalent
to lower().

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: Palle Girgensohn
Дата:
Сообщение: Re: LIKE should use index when condition doesn't include
Следующее
От: Palle Girgensohn
Дата:
Сообщение: Re: LIKE should use index when condition doesn't include