Re: BUG #14107: Major query planner bug regarding subqueries and indices
В списке pgsql-bugs по дате отправления:
| От | Mathias Kunter |
|---|---|
| Тема | Re: BUG #14107: Major query planner bug regarding subqueries and indices |
| Дата | |
| Msg-id | 629ecf23-b7b2-2d73-6792-150b111e83ab@gmail.com обсуждение исходный текст |
| Ответ на | Re: BUG #14107: Major query planner bug regarding subqueries and indices (Yaroslav <ladayaroslav@yandex.ru>) |
| Ответы |
Re: BUG #14107: Major query planner bug regarding subqueries and indices
|
| Список | pgsql-bugs |
> Seems like it. I've asked folks on IRC for help, and it was confirmed the > bug exists since 8.2 So, as it currently stands, queries of the following synopsis are de facto unusable with PostgreSQL, as these will always ignore any existing indices and trigger a full table scan instead: SELECT ... FROM a WHERE a.x = ? OR a.y IN (...); SELECT ... FROM a JOIN b ON (...) WHERE a.x = ? OR b.y = ?; The following SQL fiddle demonstrates the bug: http://sqlfiddle.com/#!15/ab714/2 Does anybody care? Shouldn't something like this be fixed ASAP??
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера