summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2016-04-05 01:17:54 +0000
committerPeter Eisentraut2016-04-05 01:17:54 +0000
commit4dcd4da98c786c48b0dbf129c8f7ea592c34a185 (patch)
tree9696bc3260f03c4943a0d48705ea09f54355bbb8
parent99f3b5613bd1f145b5dbbe86000337bbe37fb094 (diff)
Fix error message from wal_level value renaming
found by Ian Barwick
-rw-r--r--src/backend/replication/slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index c13be753ea..644c52ea41 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")));
}
/*