| От | Tom Lane |
|---|---|
| Тема | Re: Index not used in functions in 7.0? |
| Дата | |
| Msg-id | 21401.958492203@sss.pgh.pa.us обсуждение |
| Ответ на | Index not used in functions in 7.0? (Kyle Bateman <kyle@actarg.com>) |
| Ответы |
Re: Index not used in functions in 7.0?
|
| Список | pgsql-sql |
Kyle Bateman <kyle@actarg.com> writes:
> I dumped the log (-d 9) from the postmaster and the plan confirms that
> the scan is sequential when called from within the function but indexed
> when the SQL is called directly.
Yikes, that does sound like a bug.
> I'd be happy to provide a dump of the data, do other testing or whatever
> would help. I'm not sure who on the team is best to look at this.
How big would the dump file be? I'm willing to look at this, and if the
dump isn't very large then it'd be easier to just install your DB here
instead of trying to gin up my own test case.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера