Re: Access root->simple_rte_array instead of Query->rtable for 2 more cases. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Access root->simple_rte_array instead of Query->rtable for 2 more cases.
Date
Msg-id 1250617.1621967489@sss.pgh.pa.us
Whole thread Raw
In response to Access root->simple_rte_array instead of Query->rtable for 2 more cases.  (Andy Fan <zhihui.fan1213@gmail.com>)
List pgsql-hackers
Andy Fan <zhihui.fan1213@gmail.com> writes:
> When I am understanding the relationship between Query->rtable and
> root->simple_rte_array, I'd like to assume that Query->rtable should be
> never used
> when root->simple_rte_array is ready.

TBH, now that Lists are really arrays, there's basically no performance
advantage to be gained by fooling with this.  I've considered ripping
out simple_rte_array, but haven't felt that the code churn would be
worth it.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: storing an explicit nonce
Next
From: Bruce Momjian
Date:
Subject: Re: storing an explicit nonce