Content-Length: 273396 | pFad | http://github.com/postgrespro/postgres/commit/a15d387c22b794b0d2d037ce9f7b379ea8f153c0

42 Improve logical decoding log messages · postgrespro/postgres@a15d387 · GitHub
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

Lines changed: 2 additions & 2 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a15d387c22b794b0d2d037ce9f7b379ea8f153c0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy