Skip to content

Commit 87f76f1

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 d35fd17 commit 87f76f1

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
@@ -1306,13 +1306,13 @@ RestoreSlotFromDisk(const char *name)
13061306
if (cp.slotdata.database != InvalidOid && wal_level < WAL_LEVEL_LOGICAL)
13071307
ereport(FATAL,
13081308
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1309-
errmsg("logical replication slots \"%s\" exists, but wal_level < logical",
1309+
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
13101310
NameStr(cp.slotdata.name)),
13111311
errhint("Change wal_level to be replica or higher.")));
13121312
else if (wal_level < WAL_LEVEL_REPLICA)
13131313
ereport(FATAL,
13141314
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1315-
errmsg("physical replication slots \"%s\" exists, but wal_level < replica",
1315+
errmsg("physical replication slot \"%s\" exists, but wal_level < replica",
13161316
NameStr(cp.slotdata.name)),
13171317
errhint("Change wal_level to be replica or higher.")));
13181318

0 commit comments

Comments
 (0)