Skip to content

Commit 4025148

Browse files
author
Mikhail Rutman
committed
fix EState initialization
Tags: Multimaster
1 parent ef470ae commit 4025148

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/pglogical_apply.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ create_rel_estate(Relation rel)
166166
EState *estate;
167167
ResultRelInfo *resultRelInfo;
168168
RangeTblEntry *rte;
169-
List *rangeTable;
170169

171170
estate = CreateExecutorState();
172171

@@ -178,12 +177,8 @@ create_rel_estate(Relation rel)
178177
rte->relid = RelationGetRelid(rel);
179178
rte->relkind = rel->rd_rel->relkind;
180179
rte->rellockmode = AccessShareLock;
181-
rangeTable = list_make1(rte);
182180
ExecInitRangeTable(estate, list_make1(rte));
183181

184-
ExecInitRangeTable(estate, rangeTable);
185-
ExecInitResultRelation(estate, resultRelInfo, 1);
186-
187182
estate->es_result_relation_info = resultRelInfo;
188183
estate->es_output_cid = GetCurrentCommandId(true);
189184

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy