]> granicus.if.org Git - postgresql/commit
Fix bug that could try to freeze running multixacts.
authorThomas Munro <tmunro@postgresql.org>
Wed, 16 Oct 2019 20:59:21 +0000 (09:59 +1300)
committerThomas Munro <tmunro@postgresql.org>
Wed, 16 Oct 2019 21:28:28 +0000 (10:28 +1300)
commitc1443eebe5a83449ef24d53eb52f7c176c420f71
tree3de3a0c8cd383176ac057aaf2f83fd689b3dd742
parent984aa0ede1d2323570e890ad625744682909aac1
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
src/backend/commands/vacuum.c