Skip to content

Commit 019e788

Browse files
committed
postgres_fdw: Remove unnecessary variable.
It causes warnings in non-Assert-enabled builds. Per report from Jeff Janes.
1 parent 41d505a commit 019e788

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/postgres_fdw/postgres_fdw.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,9 +2523,8 @@ fetch_more_data(ForeignScanState *node)
25232523

25242524
for (i = 0; i < numrows; i++)
25252525
{
2526-
ForeignScan *fsplan = (ForeignScan *) node->ss.ps.plan;
2526+
Assert(IsA(node->ss.ps.plan, ForeignScan));
25272527

2528-
Assert(IsA(fsplan, ForeignScan));
25292528
fsstate->tuples[i] =
25302529
make_tuple_from_result_row(res, i,
25312530
fsstate->rel,

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