Обсуждение: pgsql: Fix bug that could try to freeze running multixacts.

Поиск
Список
Период
Сортировка

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

От
Thomas Munro
Дата:
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
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c1443eebe5a83449ef24d53eb52f7c176c420f71

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