Fix DetermineSafeOldestOffset for the case where there are no mxacts.
authorRobert Haas <rhaas@postgresql.org>
Mon, 11 May 2015 01:34:26 +0000 (21:34 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 11 May 2015 01:34:26 +0000 (21:34 -0400)
commit312747c224be4c0a880b5172a010e980f8b654ca
tree33cb5acbab8934d2b79524cd744e1a9b5b2bb3dc
parent1a8a4e5cde2b7755e11bde2ea7897bd650622d3e
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.
src/backend/access/transam/multixact.c