From 8339f33d68e08d24eb316971a0ac73af162d52b3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 11 Nov 2014 20:00:58 -0500 Subject: Message improvements --- src/backend/replication/logical/logical.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/replication/logical/logical.c') diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c index 49f9c7d3a5..875b89a628 100644 --- a/src/backend/replication/logical/logical.c +++ b/src/backend/replication/logical/logical.c @@ -218,7 +218,7 @@ CreateInitDecodingContext(char *plugin, if (slot->data.database == InvalidOid) ereport(ERROR, (errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), - errmsg("cannot use physical replication slot created for logical decoding"))); + errmsg("cannot use physical replication slot for logical decoding"))); if (slot->data.database != MyDatabaseId) ereport(ERROR, @@ -410,7 +410,7 @@ CreateDecodingContext(XLogRecPtr start_lsn, MemoryContextSwitchTo(old_context); ereport(LOG, - (errmsg("starting logical decoding for slot %s", + (errmsg("starting logical decoding for slot \"%s\"", NameStr(slot->data.name)), errdetail("streaming transactions committing after %X/%X, reading WAL from %X/%X", (uint32) (slot->data.confirmed_flush >> 32), -- cgit v1.2.1