forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit944d53f
Fix "wrong varnullingrels" for Memoize's lateral references, too.
The issue fixed in commitbfd332b can also bite Memoize plans,because of the separate copies of lateral reference Vars madeby paraminfo_get_equal_hashops. Apply the same hacky fix there.(In passing, clean up shaky grammar in the existing commentsfor this function.)Richard GuoDiscussion:https://postgr.es/m/CAMbWs4-krwk0Wbd6WdufMAupuou_Ua73ijQ4XQCr1Mb5BaVtKQ@mail.gmail.com1 parent56216ee commit944d53f
File tree
4 files changed
+81
-12
lines changed- src
- backend/optimizer
- path
- plan
- test/regress
- expected
- sql
4 files changed
+81
-12
lines changedLines changed: 48 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
421 | 421 |
| |
422 | 422 |
| |
423 | 423 |
| |
424 |
| - | |
425 |
| - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
426 | 427 |
| |
427 |
| - | |
428 |
| - | |
429 |
| - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
430 | 451 |
| |
431 | 452 |
| |
432 | 453 |
| |
| |||
441 | 462 |
| |
442 | 463 |
| |
443 | 464 |
| |
| 465 | + | |
444 | 466 |
| |
445 | 467 |
| |
446 | 468 |
| |
| |||
510 | 532 |
| |
511 | 533 |
| |
512 | 534 |
| |
513 |
| - | |
| 535 | + | |
514 | 536 |
| |
515 | 537 |
| |
516 | 538 |
| |
| |||
521 | 543 |
| |
522 | 544 |
| |
523 | 545 |
| |
524 |
| - | |
| 546 | + | |
525 | 547 |
| |
526 | 548 |
| |
527 | 549 |
| |
528 | 550 |
| |
529 | 551 |
| |
530 | 552 |
| |
531 | 553 |
| |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
532 | 573 |
| |
533 | 574 |
| |
534 | 575 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2289 | 2289 |
| |
2290 | 2290 |
| |
2291 | 2291 |
| |
2292 |
| - | |
2293 |
| - | |
2294 |
| - | |
2295 |
| - | |
2296 |
| - | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
2297 | 2297 |
| |
2298 | 2298 |
| |
2299 | 2299 |
| |
|
Lines changed: 21 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2607 | 2607 |
| |
2608 | 2608 |
| |
2609 | 2609 |
| |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
2610 | 2631 |
| |
2611 | 2632 |
| |
2612 | 2633 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
521 | 521 |
| |
522 | 522 |
| |
523 | 523 |
| |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
524 | 531 |
| |
525 | 532 |
| |
526 | 533 |
| |
|
0 commit comments
Comments
(0)