Skip to content

Commit 34ce114

Browse files
committed
Fix condition in pg_dump TAP test
The condition checking compression support was parenthesized incorrectly after adding lz4, so fix that. Reported-by: Justin Pryzby Discussion: https://postgr.es/m/20230227044910.GO1653@telsasoft.com
1 parent d2f44cc commit 34ce114

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)
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