1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-17 17:02:08 +03:00

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

View File

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