diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-01-04 13:05:29 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-01-04 13:16:59 -0500 |
commit | 345b2dcf070bd8fbccde643b1b2856027623e9e5 (patch) | |
tree | 737eb093564471c2519b1a35790fe4568e931e80 /src/include/nodes/execnodes.h | |
parent | 6667d9a6d77b9a6eac89638ac363b6d03da253c1 (diff) | |
download | postgresql-345b2dcf070bd8fbccde643b1b2856027623e9e5.tar.gz postgresql-345b2dcf070bd8fbccde643b1b2856027623e9e5.zip |
Move partition_tuple_slot out of EState.
Commit 2ac3ef7a01df859c62d0a02333b646d65eaec5ff added a TupleTapleSlot
for partition tuple slot to EState (es_partition_tuple_slot) but it's
more logical to have it as part of ModifyTableState
(mt_partition_tuple_slot) and CopyState (partition_tuple_slot).
Discussion: http://postgr.es/m/1bd459d9-4c0c-197a-346e-e5e59e217d97@lab.ntt.co.jp
Amit Langote, per a gripe from me
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 486555eac4c..0e05d472c90 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -384,9 +384,6 @@ typedef struct EState TupleTableSlot *es_trig_oldtup_slot; /* for TriggerEnabled */ TupleTableSlot *es_trig_newtup_slot; /* for TriggerEnabled */ - /* Slot used to manipulate a tuple after it is routed to a partition */ - TupleTableSlot *es_partition_tuple_slot; - /* Parameter info: */ ParamListInfo es_param_list_info; /* values of external params */ ParamExecData *es_param_exec_vals; /* values of internal params */ @@ -1165,6 +1162,7 @@ typedef struct ModifyTableState ResultRelInfo *mt_partitions; /* Per partition result relation */ TupleConversionMap **mt_partition_tupconv_maps; /* Per partition tuple conversion map */ + TupleTableSlot *mt_partition_tuple_slot; } ModifyTableState; /* ---------------- |