Re: LIKE on index not working

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: LIKE on index not working
Дата
Msg-id 200407221441.05497.peter_e@gmx.net
обсуждение исходный текст
Ответ на LIKE on index not working  ("Chris Cox" <cjcox@optushome.com.au>)
Список pgsql-sql
Am Donnerstag, 22. Juli 2004 09:38 schrieb Chris Cox:
> For some reason I just can't get this to use the index for the following
> query.  I'm using PostgreSQL 7.3.4.

In 7.3, LIKE cannot use an index unless you set the locale to C.  In 7.4, LIKE 
can use an index, but it has to be a different kind of index, as explained 
here:

http://www.postgresql.org/docs/7.4/static/indexes-opclass.html

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: surrogate key or not?
Следующее
От:
Дата:
Сообщение: Re: next integer in serial key