Re: ilike not using index.

Поиск
Список
Период
Сортировка
От Kenneth Marshall
Тема Re: ilike not using index.
Дата
Msg-id 20100621193952.GC23529@aart.is.rice.edu
обсуждение исходный текст
Ответ на Re: ilike not using index.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ilike not using index.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
On Mon, Jun 21, 2010 at 03:36:07PM -0400, Tom Lane wrote:
> 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
>

Would citext support this?

Regards,
Ken

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

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