Hi Man,
I checked the comment:
>
> * inFromCl marks those range variables that are listed in the FROM clause.
> * It's false for RTEs that are added to a query behind the scenes, such
> * as the NEW and OLD variables for a rule, or the subqueries of a UNION.
>
> Even the RTEs are not directly listed in FROM, but as we are rewriting the
> match pattern using join and where clause, I tend to agree with the fix.
Would you consider adding this to the commitfest?
Best regards,
Henson