Fix the computation of max dead tuples during the vacuum.
Amit Kapila <akapila@postgresql.org>
Fix the computation of max dead tuples during the vacuum. In commit 40d964ec99, we changed the way memory is allocated for dead tuples but forgot to update the place where we compute the maximum number of dead tuples. This could lead to invalid memory requests. Reported-by: Andres Freund Diagnosed-by: Andres Freund Author: Masahiko Sawada Reviewed-by: Amit Kapila and Dilip Kumar Discussion: https://postgr.es/m/20200121060020.e3cr7s7fj5rw4lok@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/vacuumlazy.c | modified | +10 −7 |
Discussion
- Re: [HACKERS] Block level parallel vacuum 408 messages · 2018-08-14 → 2020-01-30