summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-04-04 21:17:54 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-04-04 21:17:54 -0400
commit4dcd4da98c786c48b0dbf129c8f7ea592c34a185 (patch)
tree9696bc3260f03c4943a0d48705ea09f54355bbb8 /src
parent99f3b5613bd1f145b5dbbe86000337bbe37fb094 (diff)
Fix error message from wal_level value renaming
found by Ian Barwick
Diffstat (limited to 'src')
-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 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")));
}
/*