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

Commit34ce114

Browse files
committed
Fix condition in pg_dump TAP test
The condition checking compression support was parenthesizedincorrectly after adding lz4, so fix that.Reported-by: Justin PryzbyDiscussion:https://postgr.es/m/20230227044910.GO1653@telsasoft.com
1 parentd2f44cc commit34ce114

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/pg_dump/t/002_pg_dump.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4248,10 +4248,10 @@
42484248
my$test_key =$run;
42494249
my$run_db = 'postgres';
42504250
4251-
# Skip command-level tests for gzip if there is no support for it.
4251+
# Skip command-level tests for gzip/lz4 if there is no support for it.
42524252
if ($pgdump_runs{$run}->{compile_option} &&
4253-
($pgdump_runs{$run}->{compile_option} eq 'gzip' && !$supports_gzip) ||
4254-
($pgdump_runs{$run}->{compile_option} eq 'lz4' && !$supports_lz4))
4253+
(($pgdump_runs{$run}->{compile_option} eq 'gzip' && !$supports_gzip) ||
4254+
($pgdump_runs{$run}->{compile_option} eq 'lz4' && !$supports_lz4)))
42554255
{
42564256
note "$run: skipped due to no$pgdump_runs{$run}->{compile_option} support";
42574257
next;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp