Re: Fix missing EvalPlanQual recheck for TID scans

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Sophie Alpert <pg(at)sophiebits(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Fix missing EvalPlanQual recheck for TID scans
Date: 2025-09-08 09:15:37
Message-ID: CAApHDvpUjfY2BcyQCmpzkgsHD=ZJjqmCbHx5+_=oROchRaS2UA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 8 Sept 2025 at 18:57, Sophie Alpert <pg(at)sophiebits(dot)com> wrote:
> I'm actually digging in more now and if I'm reading the code correctly, EvalPlanQualStart calls ExecInitNode to create an entirely separate PlanState tree for EPQ so I'm unsure if any of the state is carried over to the Recheck calls?

Oh, you're right. The EPQ executor start isn't the same as the normal
executor state, so the recalc seems to be needed.

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Kukushkin 2025-09-08 09:25:46 Re: issue with synchronized_standby_slots
Previous Message Daniel Gustafsson 2025-09-08 09:11:20 Re: OAuth client code doesn't work with Google OAuth