Skip to content

Commit 8a99f8a

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 cb6f8a9 commit 8a99f8a

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
@@ -1522,13 +1522,13 @@ RestoreSlotFromDisk(const char *name)
15221522
if (cp.slotdata.database != InvalidOid && wal_level < WAL_LEVEL_LOGICAL)
15231523
ereport(FATAL,
15241524
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1525-
errmsg("logical replication slots \"%s\" exists, but wal_level < logical",
1525+
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
15261526
NameStr(cp.slotdata.name)),
15271527
errhint("Change wal_level to be replica or higher.")));
15281528
else if (wal_level < WAL_LEVEL_REPLICA)
15291529
ereport(FATAL,
15301530
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1531-
errmsg("physical replication slots \"%s\" exists, but wal_level < replica",
1531+
errmsg("physical replication slot \"%s\" exists, but wal_level < replica",
15321532
NameStr(cp.slotdata.name)),
15331533
errhint("Change wal_level to be replica or higher.")));
15341534

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy