aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-11-13 20:43:55 -0500
committerPeter Eisentraut <peter_e@gmx.net>2014-11-13 20:44:34 -0500
commita15d387c22b794b0d2d037ce9f7b379ea8f153c0 (patch)
treee4b2ca674fcb43296133da215a7427fb51b70852
parent473f162ce1faabeb2d572b9805311081919e5deb (diff)
downloadpostgresql-a15d387c22b794b0d2d037ce9f7b379ea8f153c0.tar.gz
postgresql-a15d387c22b794b0d2d037ce9f7b379ea8f153c0.zip
Improve logical decoding log messages
suggestions from Robert Haas
-rw-r--r--src/backend/replication/logical/snapbuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c
index 28e6c01e29c..200b54d7c2a 100644
--- a/src/backend/replication/logical/snapbuild.c
+++ b/src/backend/replication/logical/snapbuild.c
@@ -1268,7 +1268,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
ereport(LOG,
(errmsg("logical decoding found consistent point at %X/%X",
(uint32) (lsn >> 32), (uint32) lsn),
- errdetail("running xacts with xcnt == 0")));
+ errdetail("There are no running transactions.")));
return false;
}
@@ -1799,7 +1799,7 @@ SnapBuildRestore(SnapBuild *builder, XLogRecPtr lsn)
ereport(LOG,
(errmsg("logical decoding found consistent point at %X/%X",
(uint32) (lsn >> 32), (uint32) lsn),
- errdetail("found initial snapshot in snapbuild file")));
+ errdetail("Logical decoding will begin using saved snapshot.")));
return true;
snapshot_not_interesting: