diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-12-21 11:36:10 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-12-21 11:36:10 -0500 |
commit | 1fc5c4945047e8e8c7aa1644b52dd0187b729181 (patch) | |
tree | 0340c42210feb31c93a37c284521a90202dc00ee /src/include/executor/executor.h | |
parent | 3b790d256f8489d0765c3389d6860f1c6b4a9b2d (diff) | |
download | postgresql-1fc5c4945047e8e8c7aa1644b52dd0187b729181.tar.gz postgresql-1fc5c4945047e8e8c7aa1644b52dd0187b729181.zip |
Refactor partition tuple routing code to reduce duplication.
Amit Langote
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index 3f649faf2fe..b74fa5eb5da 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -213,6 +213,11 @@ extern void EvalPlanQualSetPlan(EPQState *epqstate, extern void EvalPlanQualSetTuple(EPQState *epqstate, Index rti, HeapTuple tuple); extern HeapTuple EvalPlanQualGetTuple(EPQState *epqstate, Index rti); +extern void ExecSetupPartitionTupleRouting(Relation rel, + PartitionDispatch **pd, + ResultRelInfo **partitions, + TupleConversionMap ***tup_conv_maps, + int *num_parted, int *num_partitions); extern int ExecFindPartition(ResultRelInfo *resultRelInfo, PartitionDispatch *pd, TupleTableSlot *slot, |