Re: BUG #17213: Wrong result from a query involving Merge Semi Join and Memoize
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #17213: Wrong result from a query involving Merge Semi Join and Memoize |
| Дата | |
| Msg-id | 4022669.1633396881@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #17213: Wrong result from a query involving Merge Semi Join and Memoize (Elvis Pranskevichus <elprans@gmail.com>) |
| Ответы |
Re: BUG #17213: Wrong result from a query involving Merge Semi Join and Memoize
|
| Список | pgsql-bugs |
Elvis Pranskevichus <elprans@gmail.com> writes:
> On Monday, October 4, 2021 5:14:47 PM PDT David Rowley wrote:
>>> It appears a combination of Merge Semi Join and Memoize in
>>> PostgreSQL 14 produces incorrect results on a particular query.
> It seems like a very particular set of stats is causing the plan there,
> as running ANALYZE turns the query into a Nested Loop Semi Join.
Surely this plan tree is broken on its face? The inner side of
a mergejoin has to be able to support mark/restore, and nestloop
doesn't (cf ExecSupportsMarkRestore, as well as assertions in
nodeNestloop). It looks to me like somebody removed an essential
plan-time check.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера