8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b0cec2 commit 2a3958eCopy full SHA for 2a3958e
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