]> granicus.if.org Git - postgresql/commitdiff
Emit a LOG message when pausing at the recovery target.
authorRobert Haas <rhaas@postgresql.org>
Thu, 10 Mar 2011 19:37:14 +0000 (14:37 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 10 Mar 2011 19:37:14 +0000 (14:37 -0500)
Fujii Masao

src/backend/access/transam/xlog.c

index ddcad46b7a0b63ff1561c1c32681e141fb1bd61d..3aa22bcf9e7f2676efda16c43380b0e36a782c36 100644 (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();
                                        }