Using index for substring search

Поиск
Список
Период
Сортировка
От Lec
Тема Using index for substring search
Дата
Msg-id 3C8E8B4F.5900AF42@pc.jaring.my
обсуждение исходный текст
Ответы Re: Using index for substring search  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Is it possible for postgreSQL 7.2 to use index search for the following
queries:

select name from item where substring(itemcode,1,3) = '101';
select name from item where itemcode like '101%';

if I have an index on itemcode.

Version 6.5.3 can use index search for the first query.

Thanks,
Thomas.


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: index on large table
Следующее
От: John Bell
Дата:
Сообщение: System Tables Query