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 74d9e43 commit 1da749aCopy full SHA for 1da749a
src/pg_probackup.c
@@ -564,7 +564,7 @@ compress_init(void)
564
if (backup_subcmd != SET_CONFIG)
565
{
566
if (compress_level != DEFAULT_COMPRESS_LEVEL
567
- && compress_alg == NONE_COMPRESS)
+ && compress_alg == NOT_DEFINED_COMPRESS)
568
elog(ERROR, "Cannot specify compress-level option without compress-alg option");
569
}
570
src/pg_probackup.h
@@ -353,7 +353,7 @@ extern CompressAlg compress_alg;
353
extern int compress_level;
354
extern bool compress_shortcut;
355
356
-#define DEFAULT_COMPRESS_LEVEL 6
+#define DEFAULT_COMPRESS_LEVEL 1
357
358
extern CompressAlg parse_compress_alg(const char *arg);
359
extern const char* deparse_compress_alg(int alg);
0 commit comments