diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-08-18 13:01:05 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-08-18 13:01:05 -0400 |
commit | c4b841ba6aa9252ab9dacd59d317aba8cfa9b31a (patch) | |
tree | f04bad7b7d401e1639c2fad616242dced8609c52 /src/include/executor/executor.h | |
parent | a20aac890a89e6f88e841dedbbfa8d9d5f7309fc (diff) |
Fix interaction of triggers, partitioning, and EXPLAIN ANALYZE.
Add a new EState member es_leaf_result_relations, so that the trigger
code knows about ResultRelInfos created by tuple routing. Also make
sure ExplainPrintTriggers knows about partition-related
ResultRelInfos.
Etsuro Fujita, reviewed by Amit Langote
Discussion: http://postgr.es/m/57163e18-8e56-da83-337a-22f2c0008051@lab.ntt.co.jp
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 60326f9d037..eacbea3c365 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -208,6 +208,7 @@ extern void EvalPlanQualSetTuple(EPQState *epqstate, Index rti, extern HeapTuple EvalPlanQualGetTuple(EPQState *epqstate, Index rti); extern void ExecSetupPartitionTupleRouting(Relation rel, Index resultRTindex, + EState *estate, PartitionDispatch **pd, ResultRelInfo **partitions, TupleConversionMap ***tup_conv_maps, |