Re: pgsql: Fix segfault during EvalPlanQual with mix of local and foreign p - Mailing list pgsql-committers

From Heikki Linnakangas
Subject Re: pgsql: Fix segfault during EvalPlanQual with mix of local and foreign p
Date
Msg-id 9f65a3fd-2be5-4e07-a04b-7f036780950f@iki.fi
Whole thread Raw
In response to Re: pgsql: Fix segfault during EvalPlanQual with mix of local and foreign p  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-committers
On 06/09/2021 11:50, Amit Langote wrote:
> Quite late but to I was looking at this and noticed this comment:
> 
> +       /*
> +        * Direct modifications cannot be re-evaluated by EvalPlanQual, so
> +        * don't bother preparing the FDW.  There can ForeignScan nodes in the
> +        * EvalPlanQual subtree, but ExecForeignScan should never be called.
> +        */
> 
> The 2nd sentence seems to be missing a "be" between "can" and
> "ForeignScan".  Also, does it mean the following?
> 
> "There can be ForeignScan nodes in the EvalPlanQual plan subtree, but
> ExecForeignScan should never be called on them [during EvalPlanQual]."
> 
> I've attached a patch that changes the text like that.

Applied, thanks!

- Heikki



pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix missing words in comment.
Next
From: Tom Lane
Date:
Subject: pgsql: Finish reverting 3eda9fc09fd6b9a1aec2d0113c633c69c3214b4d.