summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2018-11-05 20:02:25 +0000
committerAndres Freund2018-11-05 20:05:39 +0000
commita16e8b440132d0418d7d0c8986ac944b2370a1d4 (patch)
treeacbfaec5bd5c850b56d9aae3aefe6cde19cafc10
parent1dc05482fee545279951af06c3f0a17500b1b41f (diff)
Fix copy-paste error in errhint() introduced in 691d79a07933.
Reported-By: Petr Jelinek Discussion: https://postgr.es/m/[email protected] Backpatch: 9.4-, like the previous commit
-rw-r--r--src/backend/replication/slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index 90448a3ed69..61c65213171 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -1308,7 +1308,7 @@ RestoreSlotFromDisk(const char *name)
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
NameStr(cp.slotdata.name)),
- errhint("Change wal_level to be replica or higher.")));
+ errhint("Change wal_level to be logical or higher.")));
else if (wal_level < WAL_LEVEL_REPLICA)
ereport(FATAL,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),