pgsql: Fix the computation of max dead tuples during the vacuum.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Fix the computation of max dead tuples during the vacuum.
Дата
Msg-id E1iu5Yc-0000CH-NA@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/79a3efb84d09b1e98ad7bb2756fa570efb578d1d

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix concurrent indexing operations with temporary tables
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: Add GUC ignore_invalid_pages.