Fix DetermineSafeOldestOffset for the case where there are no mxacts.

Robert Haas <rhaas@postgresql.org>

Commit: 312747c224be4c0a880b5172a010e980f8b654ca
Author: Robert Haas <rhaas@postgresql.org>
Date: 2015-05-11T01:34:26Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/backend/access/transam/multixact.c modified +17 −6