diff options
Diffstat (limited to 'src/bin/pg_basebackup/pg_receivewal.c')
-rw-r--r-- | src/bin/pg_basebackup/pg_receivewal.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bin/pg_basebackup/pg_receivewal.c b/src/bin/pg_basebackup/pg_receivewal.c index f98ec557db2..63207ca025e 100644 --- a/src/bin/pg_basebackup/pg_receivewal.c +++ b/src/bin/pg_basebackup/pg_receivewal.c @@ -511,10 +511,8 @@ FindStreamingStart(uint32 *tli) continue; } #else - pg_log_error("could not check file \"%s\"", - dirent->d_name); - pg_log_error_detail("This build does not support compression with %s.", - "LZ4"); + pg_log_error("cannot check file \"%s\": compression with %s not supported by this build", + dirent->d_name, "LZ4"); exit(1); #endif } @@ -863,7 +861,7 @@ main(int argc, char **argv) */ if (!parse_compress_algorithm(compression_algorithm_str, &compression_algorithm)) - pg_fatal("unrecognized compression algorithm \"%s\"", + pg_fatal("unrecognized compression algorithm: \"%s\"", compression_algorithm_str); parse_compress_specification(compression_algorithm, compression_detail, |