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



Reply via email to