diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index 4d08d1f2aac21484e1d22e35aa5df00067ab5021..9a6cde09bc31def45e24356e20c1e1a6f7f0af15 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -1260,7 +1260,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_ARCHIVE)
 		ereport(FATAL,
 				(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),