Fix bug that could try to freeze running multixacts.

Thomas Munro <tmunro@postgresql.org>

Commit: 583d86f92aabdccb569e5d1faa3284f717bb1d64
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2019-10-16T21:55:26Z
Releases: 10.11
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

Files

PathChange+/−
src/backend/commands/vacuum.c modified +8 −2

Discussion