Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b8ea70

Browse files
committed
Enable TAP tests of pg_receivewal for ZLIB on Windows, take three
This reverts commit6a2c532. fairywren and bowerbird failed those testsbecause of incorrect versions of ZLIB linked to, causing errors likeSIGBREAKs that stopped buildfarm runs or EACCES failures when writingcompressed WAL segments.Andrew Dunstan has done all the investigation here, so he deserves allthe credit for being able to enable those tests on Windows.Discussion:https://postgr.es/m/9040d5ed-6462-66a4-07ac-2923785ae563@dunslane.net
1 parent14d474e commit0b8ea70

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

‎src/bin/pg_basebackup/t/020_pg_receivewal.pl‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,11 @@
7272
my@partial_wals =glob"$stream_dir/*\.partial";
7373
is(scalar(@partial_wals), 1,"one partial WAL segment was created");
7474

75-
# Check ZLIB compression if available. On Windows, some old versions
76-
# of zlib can cause some instabilities with this test, so disable it
77-
# for now.
75+
# Check ZLIB compression if available.
7876
SKIP:
7977
{
80-
skip"postgres was not built with ZLIB support, or Windows is involved", 5
81-
if (!check_pg_config("#define HAVE_LIBZ 1") ||$windows_os);
78+
skip"postgres was not built with ZLIB support", 5
79+
if (!check_pg_config("#define HAVE_LIBZ 1"));
8280

8381
# Generate more WAL worth one completed, compressed, segment.
8482
$primary->psql('postgres','SELECT pg_switch_wal();');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp