forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7e187a7

Richard Guo
Fix unstable test in select_parallel.sql
One test case added in22d946b verifies the plan of a non-parallelnestloop join. The planner's choice of join order is arbitrary, andslight variations in underlying statistics could result in a differentdisplayed plan. To stabilize the test result, here we enforce thejoin order using a lateral join.While here, modify the test case to verify that parallel nestloop joinis not generated if the inner path is not parallel-safe, which is whatwe wanted to test in22d946b.Reported-by: Alexander Lakhin as per buildfarmAuthor: Richard GuoDiscussion:https://postgr.es/m/7c09a439-e48d-5460-cfa0-a371b1a57066@gmail.com1 parent2d8ef5e commit7e187a7
File tree
2 files changed
+19
-9
lines changed- src/test/regress
- expected
- sql
2 files changed
+19
-9
lines changedLines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
656 | 656 |
| |
657 | 657 |
| |
658 | 658 |
| |
659 |
| - | |
| 659 | + | |
660 | 660 |
| |
661 | 661 |
| |
662 | 662 |
| |
| |||
668 | 668 |
| |
669 | 669 |
| |
670 | 670 |
| |
671 |
| - | |
| 671 | + | |
| 672 | + | |
672 | 673 |
| |
673 |
| - | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
674 | 679 |
| |
675 | 680 |
| |
676 | 681 |
| |
677 |
| - | |
678 | 682 |
| |
679 | 683 |
| |
680 | 684 |
| |
681 |
| - | |
682 |
| - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
683 | 688 |
| |
684 | 689 |
| |
685 | 690 |
| |
|
Lines changed: 8 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
269 | 269 |
| |
270 | 270 |
| |
271 | 271 |
| |
272 |
| - | |
| 272 | + | |
273 | 273 |
| |
274 |
| - | |
| 274 | + | |
| 275 | + | |
275 | 276 |
| |
276 |
| - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
277 | 282 |
| |
278 | 283 |
| |
279 | 284 |
| |
|
0 commit comments
Comments
(0)