Обсуждение: pgsql: Fix DetermineSafeOldestOffset for the case where there are no mx

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

pgsql: Fix DetermineSafeOldestOffset for the case where there are no mx

От
Robert Haas
Дата:
Fix DetermineSafeOldestOffset for the case where there are no mxacts.

Commit b69bf30b9bfacafc733a9ba77c9587cf54d06c0c failed to take into
account the possibility that there might be no multixacts in existence
at all.

Report by Thomas Munro; patch by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/312747c224be4c0a880b5172a010e980f8b654ca

Modified Files
--------------
src/backend/access/transam/multixact.c |   23 +++++++++++++++++------
1 file changed, 17 insertions(+), 6 deletions(-)