mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
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
This commit is contained in:
@ -2790,7 +2790,6 @@ EvalPlanQualStart(EPQState *epqstate, EState *parentestate, Plan *planTree)
|
||||
estate->es_snapshot = parentestate->es_snapshot;
|
||||
estate->es_crosscheck_snapshot = parentestate->es_crosscheck_snapshot;
|
||||
estate->es_range_table = parentestate->es_range_table;
|
||||
estate->es_range_table_array = parentestate->es_range_table_array;
|
||||
estate->es_range_table_size = parentestate->es_range_table_size;
|
||||
estate->es_relations = parentestate->es_relations;
|
||||
estate->es_queryEnv = parentestate->es_queryEnv;
|
||||
|
Reference in New Issue
Block a user