mirror of
https://github.com/postgres/postgres.git
synced 2025-04-20 00:42:27 +03:00
postgres_fdw: Remove unnecessary variable.
It causes warnings in non-Assert-enabled builds. Per report from Jeff Janes.
This commit is contained in:
parent
41d505a7ff
commit
019e788137
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user