Re: Organize working memory under per-PlanState context

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Organize working memory under per-PlanState context
Дата
Msg-id d776d2de48e6f0e71b110913b24aab44326fee36.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Organize working memory under per-PlanState context  (Andrei Lepikhov <lepihov@gmail.com>)
Ответы Re: Organize working memory under per-PlanState context
Re: Organize working memory under per-PlanState context
Список pgsql-hackers
On Wed, 2025-08-20 at 09:22 +0200, Andrei Lepikhov wrote:
> I'm not sure I understand your reasoning clearly. How do you know
> that
> the current subtree will not be rescanned with the same parameter
> set?
> Building a hash table repeatedly may be pretty costly, no?

We can check the eflags for EXEC_FLAG_REWIND. That might not be the
only condition we need to check, but we should know at plan time
whether a subtree might be executed more than once.

Regards,
    Jeff Davis




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