Content-Length: 274564 | pFad | http://github.com/postgrespro/postgres/commit/7c1aead6cbe7dcc6c216715fed7a1fb60684c5dc

5B Fix compiler warning in non-assert builds, introduced in f862d57057f. · postgrespro/postgres@7c1aead · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7c1aead6cbe7dcc6c216715fed7a1fb60684c5dc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy