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

Commit21b28fc

Browse files
committed
cleanup
1 parent46c60ac commit21b28fc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎pg_probackup.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ uint32retention_window = 0;
7171

7272
/* compression options */
7373
CompressAlgcompress_alg=NOT_DEFINED_COMPRESS;
74-
intcompress_level=-1;
74+
intcompress_level=DEFAULT_COMPRESS_LEVEL;
7575

7676
/* other options */
7777
char*instance_name;
@@ -353,8 +353,7 @@ main(int argc, char *argv[])
353353
if (num_threads<1)
354354
num_threads=1;
355355

356-
if (compress_level!=-1&&
357-
(compress_level<0||compress_level>9))
356+
if (compress_level<0||compress_level>9)
358357
elog(ERROR,"--compress-level value must be in the range from 0 to 9");
359358

360359
/* do actual operation */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp