Re: Clarifying/rationalizing Vars' varno/varattno/varnoold/varoattno

Andrei Lepikhov <a.lepikhov@postgrespro.ru>

From: Andrey Lepikhov <a.lepikhov@postgrespro.ru>
To: pgsql-hackers@lists.postgresql.org
Date: 2021-12-22T13:17:35Z
Lists: pgsql-hackers
On 5/2/2020 01:24, Tom Lane wrote:
> I've not written any actual code, but am close to being ready to.
This thread gives us hope to get started on solving some of the basic 
planner problems.
But there is no activity for a long time, as I see. Have You tried to 
implement this idea? Is it actual now?

-- 
regards,
Andrey Lepikhov
Postgres Professional



Commits

  1. Reconsider the representation of join alias Vars.

  2. Make parser rely more heavily on the ParseNamespaceItem data structure.

  3. Refactor parser's generation of Var nodes.