| От | Jean-Yves F. Barbier |
|---|---|
| Тема | Re: is it normal behavior of index? |
| Дата | |
| Msg-id | 20120101184059.15bfab98@anubis.defcon1 обсуждение исходный текст |
| Ответ на | Re: is it normal behavior of index? (Andreas Kretschmer <akretschmer@spamfence.net>) |
| Список | pgsql-novice |
On Sun, 1 Jan 2012 16:12:10 +0100
Andreas Kretschmer <akretschmer@spamfence.net> wrote:
>
> I think, in this case you needs 2 indexes, one with and one without the
> opclass - option.
>
......
> Note that you should also create an index with the default operator
> class if you want queries involving ordinary <, <=, >, or >= comparisons
> to use an index. Such queries cannot use the xxx_pattern_ops operator
> classes.
Aïe I missed this one; that was my conclusion but I wanted to make
absolutely sure.
Thanks Andreas.
JY
--
Alimony is the curse of the writing classes.
-- Norman Mailer
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера