summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-03-10 14:37:14 -0500
committerRobert Haas <rhaas@postgresql.org>2011-03-10 14:37:14 -0500
commitd16e290a8a52d76d01ef1d70f8c33336942a0870 (patch)
tree6ea074a34a8cd9e09928658cf8ad5c8ba50075d9 /src/backend
parent1c3b434a0897a727127b7c4083f2bfa2c9b690c3 (diff)
downloadpostgresql-d16e290a8a52d76d01ef1d70f8c33336942a0870.tar.gz
Emit a LOG message when pausing at the recovery target.
Fujii Masao
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/access/transam/xlog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index ddcad46b7a..3aa22bcf9e 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -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();
}