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

Commitfbb5f54

Browse files
committed
Clear ps display of startup process at the end of recovery
If the ps display is not cleared at this point, the process couldcontinue displaying "recovering NNN" even if handling end-of-recoverysteps.df9274a has tackled that by providing some information with theend-of-recovery checkpoint but7ff23c6 has nullified the effect of thefirst commit.Per a suggestion from Justin, just clear the ps display when we are donewith recovery, so as no incorrect information is displayed. This mayget extended in the future, but for now restore the pre-7ff23c6behavior.Author: Justin PrysbyDiscussion:https://postgr.es/m/20220913223954.GU31833@telsasoft.comBackpatch-through: 15
1 parent2f636da commitfbb5f54

File tree

1 file changed

+6
-0
lines changed
  • src/backend/access/transam

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5477,6 +5477,12 @@ StartupXLOG(void)
54775477
abortedRecPtr=endOfRecoveryInfo->abortedRecPtr;
54785478
missingContrecPtr=endOfRecoveryInfo->missingContrecPtr;
54795479

5480+
/*
5481+
* Reset ps status display, so as no information related to recovery
5482+
* shows up.
5483+
*/
5484+
set_ps_display("");
5485+
54805486
/*
54815487
* When recovering from a backup (we are in recovery, and archive recovery
54825488
* was requested), complain if we did not roll forward far enough to reach

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp