1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-17 21:18:00 +02:00

bugfix: undeclared compress_alg

This commit is contained in:
Grigory Smolkin 2018-12-14 16:55:32 +03:00
parent eec11c074c
commit 13c4df812e

View File

@ -582,7 +582,7 @@ compress_init(void)
if (backup_subcmd == BACKUP_CMD || backup_subcmd == ARCHIVE_PUSH_CMD)
{
#ifndef HAVE_LIBZ
if (compress_alg == ZLIB_COMPRESS)
if (instance_config.compress_alg == ZLIB_COMPRESS)
elog(ERROR, "This build does not support zlib compression");
else
#endif