Re: Using index for "like 'ABC%'" type query
От | Bruce Momjian |
---|---|
Тема | Re: Using index for "like 'ABC%'" type query |
Дата | |
Msg-id | 200304180318.h3I3Im813344@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Using index for "like 'ABC%'" type query (Jeffrey Melloy <jmelloy@visualdistortion.org>) |
Список | pgsql-general |
See the FAQ about index usage. --------------------------------------------------------------------------- Jeffrey Melloy wrote: > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-general по дате отправления: