Re: unrecognized node type while displaying a Path due to dangling pointer

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unrecognized node type while displaying a Path due to dangling pointer
Дата
Msg-id 2602263.1689128614@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: unrecognized node type while displaying a Path due to dangling pointer  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: unrecognized node type while displaying a Path due to dangling pointer  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I've not taken the time to fully understand this, but from reading the
> thread, I'm not immediately understanding why we can't just shallow
> copy the Path from the other RelOptInfo and replace the parent before
> using it in the upper RelOptInfo.  Can you explain?

I did think about that, but "shallow copy a Path" seems nontrivial
because the Path structs are all different sizes.  Maybe it is worth
building some infrastructure to support that?

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: DROP DATABASE is interruptible
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Forgive trailing semicolons inside of config files