Correct check for wal_level in 9.3

This commit is contained in:
Ian Barwick
2016-05-12 13:06:10 +09:00
parent 2eb00a3e6f
commit beda22d5f9

View File

@@ -5067,7 +5067,7 @@ check_upstream_config(PGconn *conn, int server_version_num, bool exit_on_error)
char *wal_error_message = NULL;
/* Check that WAL level is set correctly */
if (server_version_num < 90300)
if (server_version_num < 90400)
{
i = guc_set(conn, "wal_level", "=", "hot_standby");
wal_error_message = _("parameter 'wal_level' must be set to 'hot_standby'");