Content-Length: 262980 | pFad | http://github.com/postgrespro/postgres_cluster/commit/019e78813760e664a85f505b5953d362a2b468cc

BE postgres_fdw: Remove unnecessary variable. · postgrespro/postgres_cluster@019e788 · GitHub
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)








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_cluster/commit/019e78813760e664a85f505b5953d362a2b468cc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy