diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2023-03-02 12:01:47 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2023-03-02 12:01:47 -0500 |
commit | 6b661b01f48bb0d3129ad0e3909210a6ba0534b3 (patch) | |
tree | b44edf0dec23e25d3c332a47123fe538d610ded4 /src/backend/optimizer/path/indxpath.c | |
parent | 00b41463c21615f9bf3927f207e37f9e215d32e6 (diff) |
Remove local optimizations of empty Bitmapsets into null pointers.
These are all dead code now that it's done centrally.
Patch by me; thanks to Nathan Bossart and Richard Guo for review.
Discussion: https://postgr.es/m/1159933.1677621588@sss.pgh.pa.us
Diffstat (limited to 'src/backend/optimizer/path/indxpath.c')
-rw-r--r-- | src/backend/optimizer/path/indxpath.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c index 011a0337dad..9f4698f2a28 100644 --- a/src/backend/optimizer/path/indxpath.c +++ b/src/backend/optimizer/path/indxpath.c @@ -949,9 +949,6 @@ build_index_paths(PlannerInfo *root, RelOptInfo *rel, /* We do not want the index's rel itself listed in outer_relids */ outer_relids = bms_del_member(outer_relids, rel->relid); - /* Enforce convention that outer_relids is exactly NULL if empty */ - if (bms_is_empty(outer_relids)) - outer_relids = NULL; /* Compute loop_count for cost estimation purposes */ loop_count = get_loop_count(root, rel->relid, outer_relids); |