pgsql: Move partition_tuple_slot out of EState.

Lists: pgsql-committers
From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move partition_tuple_slot out of EState.
Date: 2017-01-04 18:18:41
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

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/[email protected]

Amit Langote, per a gripe from me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/345b2dcf070bd8fbccde643b1b2856027623e9e5

Modified Files
--------------
src/backend/commands/copy.c | 26 +++++++++++++-------------
src/backend/executor/execMain.c | 12 ++++++++++++
src/backend/executor/nodeModifyTable.c | 17 ++++++++---------
src/include/executor/executor.h | 1 +
src/include/nodes/execnodes.h | 4 +---
5 files changed, 35 insertions(+), 25 deletions(-)