Commit 019e7881 authored by Robert Haas's avatar Robert Haas

postgres_fdw: Remove unnecessary variable.

It causes warnings in non-Assert-enabled builds.

Per report from Jeff Janes.
parent 41d505a7
...@@ -2523,9 +2523,8 @@ fetch_more_data(ForeignScanState *node) ...@@ -2523,9 +2523,8 @@ fetch_more_data(ForeignScanState *node)
for (i = 0; i < numrows; i++) for (i = 0; i < numrows; i++)
{ {
ForeignScan *fsplan = (ForeignScan *) node->ss.ps.plan; Assert(IsA(node->ss.ps.plan, ForeignScan));
Assert(IsA(fsplan, ForeignScan));
fsstate->tuples[i] = fsstate->tuples[i] =
make_tuple_from_result_row(res, i, make_tuple_from_result_row(res, i,
fsstate->rel, fsstate->rel,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment