We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1838b6 commit 7c1aeadCopy full SHA for 7c1aead
src/backend/executor/nodeForeignscan.c
@@ -44,7 +44,6 @@ ForeignNext(ForeignScanState *node)
44
TupleTableSlot *slot;
45
ForeignScan *plan = (ForeignScan *) node->ss.ps.plan;
46
ExprContext *econtext = node->ss.ps.ps_ExprContext;
47
- EState *estate = node->ss.ps.state;
48
MemoryContext oldcontext;
49
50
/* Call the Iterate function in short-lived context */
@@ -55,7 +54,7 @@ ForeignNext(ForeignScanState *node)
55
54
* direct modifications cannot be re-evaluated, so shouldn't get here
56
* during EvalPlanQual processing
57
*/
58
- Assert(estate->es_epq_active == NULL);
+ Assert(node->ss.ps.state->es_epq_active == NULL);
59
60
slot = node->fdwroutine->IterateDirectModify(node);
61
}
0 commit comments