index 4dc8d402bd3d40df01bcb943cb91afe9b5d3d59e..a186b2fd3ec8e4839b6bbf875aea73b6841bf81c 100644 (file)
TransactionId xid;
int pageno;
+ /*
+ * During bootstrap, we should not register commit timestamps so skip the
+ * activation in this case.
+ */
+ if (IsBootstrapProcessingMode())
+ return;
+
/* If we've done this already, there's nothing to do */
LWLockAcquire(CommitTsLock, LW_EXCLUSIVE);
if (commitTsShared->commitTsActive)