mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Fix mistakes in commit d45099425eb19e420433c9d81d354fe585f4dbd6.
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 "postgres_fe.h"
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef HAVE_LIBZ
|
#ifdef HAVE_LIBZ
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -36,7 +36,7 @@ for my $tc (@test_configuration)
|
|||||||
my $method = $tc->{'compression_method'};
|
my $method = $tc->{'compression_method'};
|
||||||
|
|
||||||
SKIP: {
|
SKIP: {
|
||||||
skip "$method compression not supported by this build", 3
|
skip "$method compression not supported by this build", 2
|
||||||
if ! $tc->{'enabled'};
|
if ! $tc->{'enabled'};
|
||||||
|
|
||||||
# Take backup with server compression enabled.
|
# Take backup with server compression enabled.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user