| От | Alexander Pyhalov |
|---|---|
| Тема | Re: Add semi-join pushdown to postgres_fdw |
| Дата | |
| Msg-id | c266bb209089a93bdcd61f6c4a4bfb42@postgrespro.ru обсуждение исходный текст |
| Ответ на | Re: Add semi-join pushdown to postgres_fdw (Alexander Korotkov <aekorotkov@gmail.com>) |
| Ответы |
Re: Add semi-join pushdown to postgres_fdw
|
| Список | pgsql-hackers |
Alexander Korotkov писал(а) 2025-03-18 03:27: > Hi, Robins! > > On Tue, Mar 18, 2025 at 2:20 AM Robins Tharakan <tharakan@gmail.com> > wrote: >> On Mon, 4 Dec 2023 at 07:22, Alexander Korotkov <aekorotkov@gmail.com> >> wrote: >> > >> > >> > Now, I think this looks good. I'm going to push this if no objections. >> >> After this commit, I began seeing an unexpected ERROR - see this >> bug-report. >> https://www.postgresql.org/message-id/18852-fb75b88160678f78%40postgresql.org > > Thank you for pointing. > I'll check this in the next couple of days. > Hi. It seems conditions, coming from semi-joins, are handled incorrectly under left and right join. When deparsing left/right joins and there are semi-joins in inner or outer part of the query, the corresponding part is deparsed as subquery. And we can't refer subquery vars from above, so just should not pull up the restrictinfos. The attached patch does exactly this. -- Best regards, Alexander Pyhalov, Postgres Professional
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера