index 516a89fa2ec22e5478f24b73bb39646f18e78c89..4daa5ae9b02ecde10d86ef50aa552bccda6b217f 100644 (file)
(errmsg("oldest MultiXactId member offset unknown")));
}
+ /*
+ * If we failed to get the oldest offset this time, but we have a value
+ * from a previous pass through this function, assess the need for
+ * autovacuum based on that old value rather than automatically forcing
+ * it.
+ */
+ if (prevOldestOffsetKnown && !oldestOffsetKnown)
+ {
+ oldestOffset = prevOldestOffset;
+ oldestOffsetKnown = true;
+ }
+
/*
* Do we need an emergency autovacuum? If we're not sure, assume yes.
*/