Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit076e9d4

Browse files
author
Etsuro Fujita
committed
Remove useless bms_free() calls in build_child_join_rel().
These seem to be leftovers from the original partitionwise-join patch,perhaps.Discussion:https://postgr.es/m/CAPmGK145YiMTPRnvev1dLz8na_-0aZ=Xyqn8f2QsJFBUTObNow@mail.gmail.com
1 parent1ced082 commit076e9d4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

‎src/backend/optimizer/util/relnode.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -858,11 +858,8 @@ build_child_join_rel(PlannerInfo *root, RelOptInfo *outer_rel,
858858

859859
/*
860860
* Lateral relids referred in child join will be same as that referred in
861-
* the parent relation. Throw any partial result computed while building
862-
* the targetlist.
861+
* the parent relation.
863862
*/
864-
bms_free(joinrel->direct_lateral_relids);
865-
bms_free(joinrel->lateral_relids);
866863
joinrel->direct_lateral_relids= (Relids)bms_copy(parent_joinrel->direct_lateral_relids);
867864
joinrel->lateral_relids= (Relids)bms_copy(parent_joinrel->lateral_relids);
868865

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp