Fix error message from wal_level value renaming

found by Ian Barwick
This commit is contained in:
Peter Eisentraut 2016-04-04 21:17:54 -04:00
parent 99f3b5613b
commit 4dcd4da98c
1 changed files with 1 additions and 1 deletions

View File

@ -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")));
}
/*