mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Add compression support to pg_receivexlog
Author: Michael Paquier, review and small changes by me
This commit is contained in:
@@ -494,7 +494,7 @@ LogStreamerMain(logstreamer_param *param)
|
||||
stream.replication_slot = psprintf("pg_basebackup_%d", (int) getpid());
|
||||
|
||||
if (format == 'p')
|
||||
stream.walmethod = CreateWalDirectoryMethod(param->xlog, do_sync);
|
||||
stream.walmethod = CreateWalDirectoryMethod(param->xlog, 0, do_sync);
|
||||
else
|
||||
stream.walmethod = CreateWalTarMethod(param->xlog, compresslevel, do_sync);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user