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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy