Re: pgsql: Fix segfault during EvalPlanQual with mix of local and foreign p

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: pgsql: Fix segfault during EvalPlanQual with mix of local and foreign p
Дата
Msg-id 9f65a3fd-2be5-4e07-a04b-7f036780950f@iki.fi
обсуждение исходный текст
Ответ на Re: pgsql: Fix segfault during EvalPlanQual with mix of local and foreign p  (Amit Langote <amitlangote09@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix missing words in comment.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Finish reverting 3eda9fc09fd6b9a1aec2d0113c633c69c3214b4d.