| От | 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.
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера