Skip to content

Commit a16e8b4

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 1dc0548 commit a16e8b4

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
@@ -1308,7 +1308,7 @@ RestoreSlotFromDisk(const char *name)
13081308
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
13091309
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
13101310
NameStr(cp.slotdata.name)),
1311-
errhint("Change wal_level to be replica or higher.")));
1311+
errhint("Change wal_level to be logical or higher.")));
13121312
else if (wal_level < WAL_LEVEL_REPLICA)
13131313
ereport(FATAL,
13141314
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),

0 commit comments

Comments
 (0)