Skip to content

Commit b469cc8

Browse files
author
Antonin Houska
committed
Removed econtext field from IndexInsertState.
Currently not needed.
1 parent b882299 commit b469cc8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

concurrent.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ apply_concurrent_changes(DecodingOutputState *dstate, Relation relation,
238238

239239
/* TupleTableSlot is needed to pass the tuple to ExecInsertIndexTuples(). */
240240
slot = MakeSingleTupleTableSlot(dstate->tupdesc, &TTSOpsHeapTuple);
241-
iistate->econtext->ecxt_scantuple = slot;
242241

243242
/* A slot to fetch tuples from identity index. */
244243
ind_slot = table_slot_create(relation, NULL);
@@ -552,7 +551,6 @@ get_index_insert_state(Relation relation, Oid ident_index_id)
552551

553552
result = (IndexInsertState *) palloc0(sizeof(IndexInsertState));
554553
estate = CreateExecutorState();
555-
result->econtext = GetPerTupleExprContext(estate);
556554

557555
result->rri = (ResultRelInfo *) palloc(sizeof(ResultRelInfo));
558556
InitResultRelInfo(result->rri, relation, 0, 0, 0);

pg_squeeze.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ typedef struct IndexInsertState
121121
{
122122
ResultRelInfo *rri;
123123
EState *estate;
124-
ExprContext *econtext;
125124

126125
Relation ident_index;
127126
} IndexInsertState;

0 commit comments

Comments
 (0)