| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] Partial indicies almost working (I think) |
| Дата | |
| Msg-id | 25124.994183077@sss.pgh.pa.us обсуждение |
| Ответ на | [PATCH] Partial indicies almost working (I think) (Martijn van Oosterhout <kleptog@svana.org>) |
| Ответы |
Re: [PATCH] Partial indicies almost working (I think)
|
| Список | pgsql-general |
Martijn van Oosterhout <kleptog@svana.org> writes:
> So, as far as I can tell, partial indecies would be completely usable, *if*
> I could get the planner to use them. I'm pretty sure it goes wrong in
> create_index_paths. The pred_test works fine but somewhere in the lines
> below it doesn't realise it can use the index.
Offhand I don't see why the existence of a predicate would matter. If
you set enable_seqscan to FALSE, does it start using the index?
regards, tom lane
PS: please don't use // comments in Postgres code. They're unportable.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера