Fix DetermineSafeOldestOffset for the case where there are no mxacts.

Robert Haas <rhaas@postgresql.org>

Commit: 24aa77ec9549f2ca67220ef7b5d7f2dce5863d31
Author: Robert Haas <rhaas@postgresql.org>
Date: 2015-05-11T01:47:41Z
Releases: 9.3.7
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