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

Поиск
Список
Период
Сортировка
От Jeffrey Melloy
Тема Re: Using index for "like 'ABC%'" type query
Дата
Msg-id 1EFE8419-714C-11D7-ACF3-000393C78AC0@visualdistortion.org
обсуждение исходный текст
Ответ на Using index for "like 'ABC%'" type query  (lec <englim@pc.jaring.my>)
Ответы Re: Using index for "like 'ABC%'" type query  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
There is a module called "tsearch" in the contrib directory which works
quite well.
On Thursday, April 17, 2003, at 09:56  PM, lec wrote:

> 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.
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly


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

Предыдущее
От: lec
Дата:
Сообщение: Using index for "like 'ABC%'" type query
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Using index for "like 'ABC%'" type query