Content-Length: 255246 | pFad | http://github.com/postgrespro/postgres_cluster/commit/eaf7b1f6432480e93d8c6824fbd503761a1c1a4f

5D Assert that create_unique_path returns non-NULL. · postgrespro/postgres_cluster@eaf7b1f · GitHub
Skip to content

Commit eaf7b1f

Browse files
committed
Assert that create_unique_path returns non-NULL.
Per off-list discussion with Tom Lane and Michael Paquier, Coverity gets unhappy if this is not done.
1 parent 025b2f3 commit eaf7b1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/optimizer/path/joinpath.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,7 @@ consider_parallel_nestloop(PlannerInfo *root,
12591259
continue;
12601260
innerpath = (Path *) create_unique_path(root, innerrel,
12611261
innerpath, extra->sjinfo);
1262+
Assert(innerpath);
12621263
}
12631264

12641265
try_partial_nestloop_path(root, joinrel, outerpath, innerpath,

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/eaf7b1f6432480e93d8c6824fbd503761a1c1a4f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy