diff options
| author | Robert Haas | 2017-08-18 17:01:05 +0000 |
|---|---|---|
| committer | Robert Haas | 2017-08-18 17:01:05 +0000 |
| commit | c4b841ba6aa9252ab9dacd59d317aba8cfa9b31a (patch) | |
| tree | f04bad7b7d401e1639c2fad616242dced8609c52 /src/include/executor | |
| 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/[email protected]
Diffstat (limited to 'src/include/executor')
| -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, |
