aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2016-10-23 16:07:31 +0200
committerMagnus Hagander <magnus@hagander.net>2016-10-23 16:07:31 +0200
commita5c17c1dcef4a656559152d3f6a5a27ae4957843 (patch)
treed7ef29617f63e5321462bdeb4808c67f956e7865
parent9ae6713cdf32122fa5a0bf15ddcd85f78f6f4631 (diff)
downloadpostgresql-a5c17c1dcef4a656559152d3f6a5a27ae4957843.tar.gz
postgresql-a5c17c1dcef4a656559152d3f6a5a27ae4957843.zip
Fix obviously too quickly applied fix to zlib issue
-rw-r--r--src/bin/pg_basebackup/walmethods.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/walmethods.c b/src/bin/pg_basebackup/walmethods.c
index d28913fa69f..fe6569dff32 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