Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9c7049e

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 2da33cb commit 9c7049e

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
@@ -1515,7 +1515,7 @@ RestoreSlotFromDisk(const char *name)
15151515
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
15161516
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
15171517
NameStr(cp.slotdata.name)),
1518-
errhint("Change wal_level to be replica or higher.")));
1518+
errhint("Change wal_level to be logical or higher.")));
15191519
else if (wal_level < WAL_LEVEL_REPLICA)
15201520
ereport(FATAL,
15211521
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),

0 commit comments

Comments
 (0)