Fix error message from wal_level value renaming
found by Ian Barwick
This commit is contained in:
parent
99f3b5613b
commit
4dcd4da98c
@ -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")));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user