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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrey Lepikhov <a.lepikhov@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2021-12-22T15:42:44Z
Lists: pgsql-hackers
Andrey Lepikhov <a.lepikhov@postgrespro.ru> writes:
> 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?

It's been on the back burner for awhile :-(.  I've not forgotten
about it though.

			regards, tom lane



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.