From: Magnus Hagander Date: Sun, 23 Oct 2016 14:07:31 +0000 (+0200) Subject: Fix obviously too quickly applied fix to zlib issue X-Git-Tag: REL_10_BETA1~1522 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5c17c1dcef4a656559152d3f6a5a27ae4957843;p=postgresql Fix obviously too quickly applied fix to zlib issue --- diff --git a/src/bin/pg_basebackup/walmethods.c b/src/bin/pg_basebackup/walmethods.c index d28913fa69..fe6569dff3 100644 --- a/src/bin/pg_basebackup/walmethods.c +++ b/src/bin/pg_basebackup/walmethods.c @@ -415,10 +415,11 @@ tar_write(Walfile f, const void *buf, size_t count) ((TarMethodFile *) f)->currpos += count; return count; } -#endif +#else else /* Can't happen - compression enabled with no libz */ return -1; +#endif } static bool