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

Amit Kapila
Fix the computation of max dead tuples during the vacuum.
In commit40d964e, we changed the way memory is allocated for deadtuples but forgot to update the place where we compute the maximumnumber of dead tuples. This could lead to invalid memory requests.Reported-by: Andres FreundDiagnosed-by: Andres FreundAuthor: Masahiko SawadaReviewed-by: Amit Kapila and Dilip KumarDiscussion:https://postgr.es/m/20200121060020.e3cr7s7fj5rw4lok@alap3.anarazel.de1 parenta904abe commit79a3efb
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
162 |
| - | |
163 |
| - | |
164 |
| - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 |
| |
166 | 169 |
| |
167 | 170 |
| |
| |||
2708 | 2711 |
| |
2709 | 2712 |
| |
2710 | 2713 |
| |
2711 |
| - | |
| 2714 | + | |
2712 | 2715 |
| |
2713 |
| - | |
| 2716 | + | |
2714 | 2717 |
| |
2715 | 2718 |
| |
2716 | 2719 |
| |
| |||
2738 | 2741 |
| |
2739 | 2742 |
| |
2740 | 2743 |
| |
2741 |
| - | |
| 2744 | + | |
2742 | 2745 |
| |
2743 | 2746 |
| |
2744 | 2747 |
| |
| |||
3146 | 3149 |
| |
3147 | 3150 |
| |
3148 | 3151 |
| |
3149 |
| - | |
| 3152 | + | |
3150 | 3153 |
| |
3151 | 3154 |
| |
3152 | 3155 |
| |
|
0 commit comments
Comments
(0)