We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71cbbbb commit 8ee9408Copy full SHA for 8ee9408
src/bin/pg_basebackup/pg_basebackup.c
@@ -1919,7 +1919,7 @@ BaseBackup(void)
1919
}
1920
AppendStringCommandOption(&buf, use_new_option_syntax,
1921
"COMPRESSION", compressmethodstr);
1922
- if (compresslevel != 0 && compresslevel != Z_DEFAULT_COMPRESSION)
+ if (compresslevel >= 1) /* not 0 or Z_DEFAULT_COMPRESSION */
1923
AppendIntegerCommandOption(&buf, use_new_option_syntax,
1924
"COMPRESSION_LEVEL", compresslevel);
1925
0 commit comments