postgres.git / summary / log / commit / refs
commit 4dcd4da98c786c48b0dbf129c8f7ea592c34a185
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Tue Apr 05 01:17:54 2016 +0000
Fix error message from wal_level value renaming
found by Ian Barwick
src/backend/replication/slot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index c13be753ea9..644c52ea417 100644
--- 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")));
}
/*
[parent: 99f3b5613bd1]