Skip to content

Commit da505ea

Browse files
committed
Fix mistakes in commit d450994.
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.
1 parent d450994 commit da505ea

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/bin/pg_basebackup/bbstreamer_gzip.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
#include "postgres_fe.h"
1313

14+
#include <unistd.h>
15+
1416
#ifdef HAVE_LIBZ
1517
#include <zlib.h>
1618
#endif

src/bin/pg_verifybackup/t/009_extract.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
my $method = $tc->{'compression_method'};
3737

3838
SKIP: {
39-
skip "$method compression not supported by this build", 3
39+
skip "$method compression not supported by this build", 2
4040
if ! $tc->{'enabled'};
4141

4242
# Take backup with server compression enabled.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy