Skip to content

Commit 877b005

Browse files
committed
Fix error message typo introduced 691d79a.
Reported-By: Michael Paquier Discussion: https://postgr.es/m/20181101003405.GB1727@paquier.xyz Backpatch: 9.4-, like the previous commit
1 parent 021e1c3 commit 877b005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/replication/slot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,13 +1507,13 @@ RestoreSlotFromDisk(const char *name)
15071507
if (cp.slotdata.database != InvalidOid && wal_level < WAL_LEVEL_LOGICAL)
15081508
ereport(FATAL,
15091509
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1510-
errmsg("logical replication slots \"%s\" exists, but wal_level < logical",
1510+
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
15111511
NameStr(cp.slotdata.name)),
15121512
errhint("Change wal_level to be replica or higher.")));
15131513
else if (wal_level < WAL_LEVEL_REPLICA)
15141514
ereport(FATAL,
15151515
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1516-
errmsg("physical replication slots \"%s\" exists, but wal_level < replica",
1516+
errmsg("physical replication slot \"%s\" exists, but wal_level < replica",
15171517
NameStr(cp.slotdata.name)),
15181518
errhint("Change wal_level to be replica or higher.")));
15191519

0 commit comments

Comments
 (0)