mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Avoid listing the same ResultRelInfo in more than one EState list.
Doing so causes EXPLAIN ANALYZE to show trigger statistics multiple
times. Commit 2f17844104
seems to
be to blame for this.
Amit Langote, revieed by Amit Khandekar, Etsuro Fujita, and me.
This commit is contained in:
@ -119,7 +119,7 @@ CreateExecutorState(void)
|
||||
estate->es_root_result_relations = NULL;
|
||||
estate->es_num_root_result_relations = 0;
|
||||
|
||||
estate->es_leaf_result_relations = NIL;
|
||||
estate->es_tuple_routing_result_relations = NIL;
|
||||
|
||||
estate->es_trig_target_relations = NIL;
|
||||
estate->es_trig_tuple_slot = NULL;
|
||||
|
Reference in New Issue
Block a user