Skip to content

Commit b0fa768

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 cf358a2 commit b0fa768

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
@@ -1256,13 +1256,13 @@ RestoreSlotFromDisk(const char *name)
12561256
if (cp.slotdata.database != InvalidOid && wal_level < WAL_LEVEL_LOGICAL)
12571257
ereport(FATAL,
12581258
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1259-
errmsg("logical replication slots \"%s\" exists, but wal_level < logical",
1259+
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
12601260
NameStr(cp.slotdata.name)),
12611261
errhint("Change wal_level to be replica or higher.")));
12621262
else if (wal_level < WAL_LEVEL_ARCHIVE)
12631263
ereport(FATAL,
12641264
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1265-
errmsg("physical replication slots \"%s\" exists, but wal_level < archive",
1265+
errmsg("physical replication slot \"%s\" exists, but wal_level < archive",
12661266
NameStr(cp.slotdata.name)),
12671267
errhint("Change wal_level to be archive or higher.")));
12681268

0 commit comments

Comments
 (0)