Remove EState.es_range_table_array.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execMain.c | modified | +0 −1 |
| src/backend/executor/execUtils.c | modified | +5 −18 |
| src/include/executor/executor.h | modified | +1 −2 |
| src/include/nodes/execnodes.h | modified | +0 −1 |
Discussion
- POC: converting Lists into arrays 137 messages · 2019-02-24 → 2021-03-09