aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/logical.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-11-11 20:00:58 -0500
committerPeter Eisentraut <peter_e@gmx.net>2014-11-11 20:02:30 -0500
commit8339f33d68e08d24eb316971a0ac73af162d52b3 (patch)
tree2b0b5855c3a00935c928f95522ed5b4155f067bc /src/backend/replication/logical/logical.c
parentf1abd78be7c7dc6fce7edaf9262998f3ca3d14be (diff)
downloadpostgresql-8339f33d68e08d24eb316971a0ac73af162d52b3.tar.gz
postgresql-8339f33d68e08d24eb316971a0ac73af162d52b3.zip
Message improvements
Diffstat (limited to 'src/backend/replication/logical/logical.c')
-rw-r--r--src/backend/replication/logical/logical.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c
index 49f9c7d3a57..875b89a6288 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),