git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 99f3b56)
Fix error message from wal_level value renaming
Tue, 5 Apr 2016 01:17:54 +0000 (21:17 -0400)
Tue, 5 Apr 2016 01:17:54 +0000 (21:17 -0400)
found by Ian Barwick


diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index c13be753ea95657f84455844f8f8cb1eabf3d8ce..644c52ea4176b7d1fdf6e1a5d1b94923d51f871f 100644 (file)
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -763,7 +763,7 @@ CheckSlotRequirements(void)
if (wal_level < WAL_LEVEL_REPLICA)
ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
- errmsg("replication slots can only be used if wal_level >= archive")));
+ errmsg("replication slots can only be used if wal_level >= replica")));
}
/*
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /