1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-02-12 14:56:08 +02:00

Relax version test.

This commit is contained in:
Zhuravlev Uriy aka stalkerg 2016-03-02 12:11:25 +03:00
parent b3ecb19377
commit c9c943b2fb

View File

@ -478,12 +478,12 @@ check_server_version(void)
/* confirm server version */
server_version = PQserverVersion(connection);
if (server_version != PG_VERSION_NUM)
if (server_version < 90500)
elog(ERROR,
"server version is %d.%d.%d, must be %s or higher.",
server_version / 10000,
(server_version / 100) % 100,
server_version % 100, PG_MAJORVERSION);
server_version % 100, "9.5");
/* confirm block_size (BLCKSZ) and wal_block_size (XLOG_BLCKSZ) */
confirm_block_size("block_size", BLCKSZ);