File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8391,8 +8391,8 @@ PerformRecoveryXLogAction(void)
8391
8391
* Unlike testing InRecovery, this works in any process that's connected to
8392
8392
* shared memory.
8393
8393
*
8394
- * As a side-effect, we initialize the local TimeLineID and RedoRecPtr
8395
- * variables the first time we see that recovery is finished.
8394
+ * As a side-effect, we initialize the local RedoRecPtr variable the first
8395
+ * time we see that recovery is finished.
8396
8396
*/
8397
8397
bool
8398
8398
RecoveryInProgress (void )
Original file line number Diff line number Diff line change @@ -384,11 +384,7 @@ CheckpointerMain(void)
384
384
bool ckpt_performed = false;
385
385
bool do_restartpoint ;
386
386
387
- /*
388
- * Check if we should perform a checkpoint or a restartpoint. As a
389
- * side-effect, RecoveryInProgress() initializes TimeLineID if
390
- * it's not set yet.
391
- */
387
+ /* Check if we should perform a checkpoint or a restartpoint. */
392
388
do_restartpoint = RecoveryInProgress ();
393
389
394
390
/*
You can’t perform that action at this time.
0 commit comments