Re: text_pattern_ops index *not* used in field = value condition?
В списке pgsql-general по дате отправления:
| От | hubert depesz lubaczewski |
|---|---|
| Тема | Re: text_pattern_ops index *not* used in field = value condition? |
| Дата | |
| Msg-id | 20070915151229.GA18296@depesz.com обсуждение |
| Ответ на | Re: text_pattern_ops index *not* used in field = value condition? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: text_pattern_ops index *not* used in field = value condition?
|
| Список | pgsql-general |
On Sat, Sep 15, 2007 at 11:09:39AM -0400, Tom Lane wrote: > hubert depesz lubaczewski <depesz@depesz.com> writes: > > index is created using text_pattern_ops so i will be able to use it in 'where word like '...%'' > > but, it appears it is not usable with = operator: > = is not one of the members of the text_pattern_ops operator class. ok, but is there any reason for this? i mean - i'm not really sure why this index cannot be used. best regards depesz -- quicksil1er: "postgres is excellent, but like any DB it requires a highly paid DBA. here's my CV!" :) http://www.depesz.com/ - blog dla ciebie (i moje CV)
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера