projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ae6713
)
Fix obviously too quickly applied fix to zlib issue
author
Magnus Hagander
<
[email protected]
>
Sun, 23 Oct 2016 14:07:31 +0000
(16:07 +0200)
committer
Magnus Hagander
<
[email protected]
>
Sun, 23 Oct 2016 14:07:31 +0000
(16:07 +0200)
src/bin/pg_basebackup/walmethods.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_basebackup/walmethods.c
b/src/bin/pg_basebackup/walmethods.c
index d28913fa69f4a5b58f6ceb82bdcfcd5d79a042c2..fe6569dff3245cd1e14d48b6d66fa01c1f1ad25b 100644
(file)
--- 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;
}
-#e
ndif
+#e
lse
else
/* Can't happen - compression enabled with no libz */
return -1;
+#endif
}
static bool