forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitadd673b
committed
Fix Asserts in calc_non_nestloop_required_outer().
These were not testing the same thing as the comparable Assertin calc_nestloop_required_outer(), because we neglected to mapthe given Paths' relids to top-level relids. When consideringa partition child join the latter is the correct thing to do.This oversight is old, but since it's only an overly-weak Assertcheck there doesn't seem to be much value in back-patching.Richard Guo (with cosmetic changes and comment updates by me)Discussion:https://postgr.es/m/CAMbWs49sqbe9GBZ8sy8dSfKRNURgicR85HX8vgzcgQsPF0XY1w@mail.gmail.com1 parentd641b82 commitadd673b
2 files changed
+29
-4
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
730 | 730 |
| |
731 | 731 |
| |
732 | 732 |
| |
733 |
| - | |
734 |
| - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
735 | 738 |
| |
736 | 739 |
| |
737 | 740 |
| |
|
Lines changed: 24 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2360 | 2360 |
| |
2361 | 2361 |
| |
2362 | 2362 |
| |
| 2363 | + | |
| 2364 | + | |
| 2365 | + | |
2363 | 2366 |
| |
2364 | 2367 |
| |
2365 | 2368 |
| |
| |||
2394 | 2397 |
| |
2395 | 2398 |
| |
2396 | 2399 |
| |
| 2400 | + | |
| 2401 | + | |
2397 | 2402 |
| |
2398 | 2403 |
| |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
2399 | 2421 |
| |
2400 |
| - | |
2401 |
| - | |
| 2422 | + | |
| 2423 | + | |
2402 | 2424 |
| |
2403 | 2425 |
| |
2404 | 2426 |
| |
|
0 commit comments
Comments
(0)