Commit 4dcd4da9 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix error message from wal_level value renaming

found by Ian Barwick
parent 99f3b561
...@@ -763,7 +763,7 @@ CheckSlotRequirements(void) ...@@ -763,7 +763,7 @@ CheckSlotRequirements(void)
if (wal_level < WAL_LEVEL_REPLICA) if (wal_level < WAL_LEVEL_REPLICA)
ereport(ERROR, ereport(ERROR,
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE), (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")));
} }
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment