From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove EState.es_range_table_array.
Date: Mon, 12 Aug 2019 15:58:42 +0000
Message-ID: <E1hxCiY-0003bf-J0@gemulon.postgresql.org> (raw)
Remove EState.es_range_table_array.
Now that list_nth is O(1), there's no good reason to maintain a
separate array of RTE pointers rather than indexing into
estate->es_range_table. Deleting the array doesn't save all that
much either; but just on cleanliness grounds, it's better not to
have duplicate representations of the identical information.
Discussion: https://postgr.es/m/14960.1565384592@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3c926587b5928795e54dfea65c712a604f63cdeb
Modified Files
--------------
src/backend/executor/execMain.c | 1 -
src/backend/executor/execUtils.c | 23 +++++------------------
src/include/executor/executor.h | 3 +--
src/include/nodes/execnodes.h | 1 -
4 files changed, 6 insertions(+), 22 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Remove EState.es_range_table_array.
In-Reply-To: <E1hxCiY-0003bf-J0@gemulon.postgresql.org>
References: <E1hxCiY-0003bf-J0@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox