summaryrefslogtreecommitdiff
path: root/src/include/nodes/execnodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r--src/include/nodes/execnodes.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index fc7f6e20f2b..4420e541f0f 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -981,15 +981,24 @@ typedef struct ModifyTableState
int mt_num_partitions; /* Number of members in the following
* arrays */
ResultRelInfo *mt_partitions; /* Per partition result relation */
- TupleConversionMap **mt_partition_tupconv_maps;
+
/* Per partition tuple conversion map */
+ TupleConversionMap **mt_partition_tupconv_maps;
+
+ /*
+ * Used to manipulate any given leaf partition's rowtype after that
+ * partition is chosen for insertion by tuple-routing.
+ */
TupleTableSlot *mt_partition_tuple_slot;
- struct TransitionCaptureState *mt_transition_capture;
+
/* controls transition table population for specified operation */
- struct TransitionCaptureState *mt_oc_transition_capture;
+ struct TransitionCaptureState *mt_transition_capture;
+
/* controls transition table population for INSERT...ON CONFLICT UPDATE */
- TupleConversionMap **mt_transition_tupconv_maps;
+ struct TransitionCaptureState *mt_oc_transition_capture;
+
/* Per plan/partition tuple conversion */
+ TupleConversionMap **mt_transition_tupconv_maps;
} ModifyTableState;
/* ----------------