1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-24 14:22:24 +03:00

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

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