summaryrefslogtreecommitdiff
path: root/src/backend/replication/walsender.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-09-24 18:38:35 -0400
committerPeter Eisentraut <peter@eisentraut.org>2022-09-24 18:41:25 -0400
commit26f7802beb2a4aafa0903f5bedeb7f1fa6f4f358 (patch)
treedc9a4b176f6a37ca32b2667deb5e635196a0d70f /src/backend/replication/walsender.c
parenta6bc3301925e1a8ad1f58da629b9dd55bc4b8d9c (diff)
Message style improvements
Diffstat (limited to 'src/backend/replication/walsender.c')
-rw-r--r--src/backend/replication/walsender.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/replication/walsender.c b/src/backend/replication/walsender.c
index 724010dbd97..e9ba500a15f 100644
--- a/src/backend/replication/walsender.c
+++ b/src/backend/replication/walsender.c
@@ -516,9 +516,8 @@ ReadReplicationSlot(ReadReplicationSlotCmd *cmd)
if (OidIsValid(slot_contents.data.database))
ereport(ERROR,
errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("cannot use \"%s\" with logical replication slot \"%s\"",
- "READ_REPLICATION_SLOT",
- NameStr(slot_contents.data.name)));
+ errmsg("cannot use %s with a logical replication slot",
+ "READ_REPLICATION_SLOT"));
/* slot type */
values[i] = CStringGetTextDatum("physical");