forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd1c9c86
committed
Further tighten nullingrel marking rules in build_joinrel_tlist().
The code I added infee7b77 could misbehave if commute_above_rcontains multiple relids. While adding too many relids here isprobably harmless (pre-fee7b77b9, we did it all the time), it'snot very expensive to be accurate: we just have to intersectcommute_above_r with the join's relids.Discussion:https://postgr.es/m/17781-c0405c8b3cd5e072@postgresql.org1 parent798c017 commitd1c9c86
1 file changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
1057 | 1057 | | |
1058 | 1058 | | |
1059 | 1059 | | |
| |||
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | | - | |
1104 | | - | |
1105 | | - | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1106 | 1107 | | |
1107 | 1108 | | |
1108 | 1109 | | |
| |||
1164 | 1165 | | |
1165 | 1166 | | |
1166 | 1167 | | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
1170 | 1172 | | |
1171 | 1173 | | |
1172 | 1174 | | |
| |||
0 commit comments
Comments
(0)