Skip to content
Snippets Groups Projects
Commit 019e7881 authored by Robert Haas's avatar Robert Haas
Browse files

postgres_fdw: Remove unnecessary variable.

It causes warnings in non-Assert-enabled builds.

Per report from Jeff Janes.
parent 41d505a7
No related branches found
No related tags found
No related merge requests found
......@@ -2523,9 +2523,8 @@ fetch_more_data(ForeignScanState *node)
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] =
make_tuple_from_result_row(res, i,
fsstate->rel,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment