1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +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)
{
ereport(LOG,
(errmsg("recovery has paused"),
errhint("Execute pg_xlog_replay_resume() to continue.")));
SetRecoveryPause(true);
recoveryPausesHere();
}