Skip to content

Commit 0446551

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 886319d commit 0446551

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
@@ -1513,13 +1513,13 @@ RestoreSlotFromDisk(const char *name)
15131513
if (cp.slotdata.database != InvalidOid && wal_level < WAL_LEVEL_LOGICAL)
15141514
ereport(FATAL,
15151515
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1516-
errmsg("logical replication slots \"%s\" exists, but wal_level < logical",
1516+
errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
15171517
NameStr(cp.slotdata.name)),
15181518
errhint("Change wal_level to be replica or higher.")));
15191519
else if (wal_level < WAL_LEVEL_REPLICA)
15201520
ereport(FATAL,
15211521
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
1522-
errmsg("physical replication slots \"%s\" exists, but wal_level < replica",
1522+
errmsg("physical replication slot \"%s\" exists, but wal_level < replica",
15231523
NameStr(cp.slotdata.name)),
15241524
errhint("Change wal_level to be replica or higher.")));
15251525

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