Using index for "like 'ABC%'" type query

Поиск
Список
Период
Сортировка
От lec
Тема Using index for "like 'ABC%'" type query
Дата
Msg-id 3E9F6974.1020405@pc.jaring.my
обсуждение исходный текст
Ответы Re: Using index for "like 'ABC%'" type query  (Jeffrey Melloy <jmelloy@visualdistortion.org>)
Re: Using index for "like 'ABC%'" type query  (Andrew Sullivan <andrew@libertyrms.info>)
Re: Using index for "like 'ABC%'" type query  (Darko Prenosil <darko.prenosil@finteh.hr>)
Список pgsql-general
For current version of postgresql, is it possible for a query like below
to utilize an index?

select item_name from item where item_code like 'ABC%';

Earlier versions of postgresql, eg, 6.5.3 can utilize the index.


Thanks,
Thomas.


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

Предыдущее
От: Jeffrey Melloy
Дата:
Сообщение: 7.3 PDF documentation
Следующее
От: Jeffrey Melloy
Дата:
Сообщение: Re: Using index for "like 'ABC%'" type query