Emit a LOG message when pausing at the recovery target.

Fujii Masao
This commit is contained in:
Robert Haas 2011-03-10 14:37:14 -05:00
parent 1c3b434a08
commit d16e290a8a
1 changed files with 3 additions and 0 deletions

View File

@ -6482,6 +6482,9 @@ StartupXLOG(void)
{
if (recoveryPauseAtTarget)
{
ereport(LOG,
(errmsg("recovery has paused"),
errhint("Execute pg_xlog_replay_resume() to continue.")));
SetRecoveryPause(true);
recoveryPausesHere();
}