Skip to content

Commit b7301e3

Browse files
committed
Fix copy-paste error in errhint() introduced in 691d79a.
Reported-By: Petr Jelinek Discussion: https://postgr.es/m/c95a620b-34f0-7930-aeb5-f7ab804f26cb@2ndquadrant.com Backpatch: 9.4-, like the previous commit
1 parent 92154ef commit b7301e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/slot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ RestoreSlotFromDisk(const char *name)
12581258
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
12591259
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
12601260
NameStr(cp.slotdata.name)),
1261-
errhint("Change wal_level to be replica or higher.")));
1261+
errhint("Change wal_level to be logical or higher.")));
12621262
else if (wal_level < WAL_LEVEL_ARCHIVE)
12631263
ereport(FATAL,
12641264
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),

0 commit comments

Comments
 (0)