Skip to content

Commit 7c1aead

Browse files
committed
Fix compiler warning in non-assert builds, introduced in f862d57.
Discussion: https://postgr.es/m/20220203183655.ralgkh54sdcgysmn@alap3.anarazel.de Backpatch: 14-, like f862d57
1 parent c1838b6 commit 7c1aead

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/executor/nodeForeignscan.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ ForeignNext(ForeignScanState *node)
4444
TupleTableSlot *slot;
4545
ForeignScan *plan = (ForeignScan *) node->ss.ps.plan;
4646
ExprContext *econtext = node->ss.ps.ps_ExprContext;
47-
EState *estate = node->ss.ps.state;
4847
MemoryContext oldcontext;
4948

5049
/* Call the Iterate function in short-lived context */
@@ -55,7 +54,7 @@ ForeignNext(ForeignScanState *node)
5554
* direct modifications cannot be re-evaluated, so shouldn't get here
5655
* during EvalPlanQual processing
5756
*/
58-
Assert(estate->es_epq_active == NULL);
57+
Assert(node->ss.ps.state->es_epq_active == NULL);
5958

6059
slot = node->fdwroutine->IterateDirectModify(node);
6160
}

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