mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Fix mistakes in commit d45099425e
.
I intended to include a change to the "skip" count in the test case, but it didn't get folded into the commit. Do that now, so that non-zlib builds don't break. The new file bbstreamer_gzip.c needs <unistd.h> to avoid complaints about dup() not having a prototype, as per buildfarm returns.
This commit is contained in:
parent
d45099425e
commit
da505eafca
@ -11,6 +11,8 @@
|
||||
|
||||
#include "postgres_fe.h"
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef HAVE_LIBZ
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
@ -36,7 +36,7 @@ for my $tc (@test_configuration)
|
||||
my $method = $tc->{'compression_method'};
|
||||
|
||||
SKIP: {
|
||||
skip "$method compression not supported by this build", 3
|
||||
skip "$method compression not supported by this build", 2
|
||||
if ! $tc->{'enabled'};
|
||||
|
||||
# Take backup with server compression enabled.
|
||||
|
Loading…
Reference in New Issue
Block a user