| От | Tom Lane |
|---|---|
| Тема | Re: Pseudoconstant quals versus the join removal patch |
| Дата | |
| Msg-id | 20372.1284506786@sss.pgh.pa.us обсуждение |
| Ответ на | Pseudoconstant quals versus the join removal patch (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Pseudoconstant quals versus the join removal patch
|
| Список | pgsql-hackers |
I wrote:
> I think that it's probably sufficient to make remove_rel_from_query run
> through the rel's joininfo list looking for pseudoconstant quals, and
> push those back into the joininfo lists with a reduced join list. I
> wonder though if there's a better way, or if there are related bugs
> this fix won't cover. Any thoughts?
On reflection I decided that outerjoin-delayed quals could probably have
the same problem. I've changed the code so that all quals not clearly
attached to the specific outer join we're removing will be modified to
ensure they're still evaluated at the right time.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера