diff options
author | Amit Kapila <akapila@postgresql.org> | 2020-01-22 07:43:51 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2020-01-22 07:43:51 +0530 |
commit | 79a3efb84d09b1e98ad7bb2756fa570efb578d1d (patch) | |
tree | 930eae193359d19d1a651c98ed6a159c0c4a4feb /src/backend/access/transam/xlogutils.c | |
parent | a904abe2e284f570168839e52e18ef0b7f26179d (diff) | |
download | postgresql-79a3efb84d09b1e98ad7bb2756fa570efb578d1d.tar.gz postgresql-79a3efb84d09b1e98ad7bb2756fa570efb578d1d.zip |
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
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions