pgsql: Fix bug that could try to freeze running multixacts.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix bug that could try to freeze running multixacts.
Date: 2019-10-16 23:00:13
Message-ID: E1iKsH7-0000Cy-Ji@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix bug that could try to freeze running multixacts.

Commits 801c2dc7 and 801c2dc7 made it possible for vacuum to
try to freeze a multixact that is still running. That was
prevented by a check, but raised an error. Repair.

Back-patch all the way.

Author: Nathan Bossart, Jeremy Schneider
Reported-by: Jeremy Schneider
Reviewed-by: Jim Nasby, Thomas Munro
Discussion: https://postgr.es/m/DAFB8AFF-2F05-4E33-AD7F-FF8B0F760C17%40amazon.com

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/486a8f152233520b0c841d2e9c32b1ae7949e85c

Modified Files
--------------
src/backend/commands/vacuum.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-10-16 23:00:23 pgsql: Fix bug that could try to freeze running multixacts.
Previous Message Thomas Munro 2019-10-16 23:00:02 pgsql: Fix bug that could try to freeze running multixacts.