Re: ilike not using index.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ilike not using index.
Дата
Msg-id 16763.1277148967@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ilike not using index.  (Darryl Pye <darrylpye@hotmail.com>)
Ответы Re: ilike not using index.  (Kenneth Marshall <ktm@rice.edu>)
Список pgsql-novice
Darryl Pye <darrylpye@hotmail.com> writes:
> Index was working correctly in 8.4,I have upgraded to  version 9 as I require some of the new features and now the
indexdoesn't work. 

No version of Postgres has ever been able to use an index for ILIKE.

You might consider creating an index on lower(full_name) and then
querying WHERE lower(full_name) LIKE whatever.

            regards, tom lane

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

Предыдущее
От: Darryl Pye
Дата:
Сообщение: ilike not using index.
Следующее
От: Kenneth Marshall
Дата:
Сообщение: Re: ilike not using index.