forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commited5d55d
committed
Fix a bug in the original implementation of redundant-join-clause removal:
clauses in which one side or the other references both sides of the joincannot be removed as redundant, because that expression won't have beenconstrained below the join. Per report from Sergey Burladyan.CVS HEAD does not contain this bug due to EquivalenceClass rewrite, but itseems wise to include the regression test for it anyway.1 parentbc421c3 commited5d55d
3 files changed
+48
-0
lines changedLines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2250 | 2250 |
| |
2251 | 2251 |
| |
2252 | 2252 |
| |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + |
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2250 | 2250 |
| |
2251 | 2251 |
| |
2252 | 2252 |
| |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + |
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
424 | 424 |
| |
425 | 425 |
| |
426 | 426 |
| |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + |
0 commit comments
Comments
(0)