- Notifications
You must be signed in to change notification settings - Fork28
Commitd931ac0
committed
Ignore extra subquery outputs in set_subquery_size_estimates().
In commit0f61d4d, I added code to copy upcolumn width estimates for each column of a subquery. That code supposedthat the subquery couldn't have any output columns that didn't correspondto known columns of the current query level --- which is true when a queryis parsed from scratch, but the assumption fails when planning a view thatdepends on another view that's been redefined (adding output columns) sincethe upper view was made. This results in an assertion failure or even acrash, as per bug #8025 from lindebg. Remove the Assert and instead skipthe column if its resno is out of the expected range.1 parent64f8909 commitd931ac0
1 file changed
+9
-1
lines changedLines changed: 9 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3741 | 3741 |
| |
3742 | 3742 |
| |
3743 | 3743 |
| |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
| 3751 | + | |
| 3752 | + | |
3744 | 3753 |
| |
3745 | 3754 |
| |
3746 | 3755 |
| |
| |||
3762 | 3771 |
| |
3763 | 3772 |
| |
3764 | 3773 |
| |
3765 |
| - | |
3766 | 3774 |
| |
3767 | 3775 |
| |
3768 | 3776 |
| |
|
0 commit comments
Comments
(0)