Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit018b800

Browse files
Remove mention of TimeLineID update from comments
Commit4a92a1c removed the TimeLineID update from RecoveryInProgress,update comments accordingly.Author: Amul Sul <sulamul@gmail.com>Discussion:https://postgr.es/m/CAAJ_b96wyzs8N45jc-kYd-bTE02hRWQieLZRpsUtNbhap7_PuQ@mail.gmail.com
1 parent7799d4e commit018b800

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8391,8 +8391,8 @@ PerformRecoveryXLogAction(void)
83918391
* Unlike testing InRecovery, this works in any process that's connected to
83928392
* shared memory.
83938393
*
8394-
* As a side-effect, we initialize the localTimeLineID and RedoRecPtr
8395-
*variables the firsttime we see that recovery is finished.
8394+
* As a side-effect, we initialize the localRedoRecPtr variable the first
8395+
* time we see that recovery is finished.
83968396
*/
83978397
bool
83988398
RecoveryInProgress(void)

‎src/backend/postmaster/checkpointer.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -384,11 +384,7 @@ CheckpointerMain(void)
384384
boolckpt_performed= false;
385385
booldo_restartpoint;
386386

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. */
392388
do_restartpoint=RecoveryInProgress();
393389

394390
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp