Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a15d387

Browse files
committed
Improve logical decoding log messages
suggestions from Robert Haas
1 parent 473f162 commit a15d387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/replication/logical/snapbuild.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
12681268
ereport(LOG,
12691269
(errmsg("logical decoding found consistent point at %X/%X",
12701270
(uint32) (lsn >> 32), (uint32) lsn),
1271-
errdetail("running xacts with xcnt == 0")));
1271+
errdetail("There are no running transactions.")));
12721272

12731273
return false;
12741274
}
@@ -1799,7 +1799,7 @@ SnapBuildRestore(SnapBuild *builder, XLogRecPtr lsn)
17991799
ereport(LOG,
18001800
(errmsg("logical decoding found consistent point at %X/%X",
18011801
(uint32) (lsn >> 32), (uint32) lsn),
1802-
errdetail("found initial snapshot in snapbuild file")));
1802+
errdetail("Logical decoding will begin using saved snapshot.")));
18031803
return true;
18041804

18051805
snapshot_not_interesting:

0 commit comments

Comments
 (0)