1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-30 09:47:53 +02:00

do not fsync streamed WAL segments

This commit is contained in:
Grigory Smolkin 2020-12-07 09:23:50 +03:00
parent 20dfb0130a
commit 623c0d3a46

View File

@ -212,7 +212,7 @@ StreamLog(void *arg)
stream_arg->basedir,
// (instance_config.compress_alg == NONE_COMPRESS) ? 0 : instance_config.compress_level,
0,
true);
false);
ctl.replication_slot = replication_slot;
ctl.stop_socket = PGINVALID_SOCKET;
ctl.do_sync = false; /* We sync all files at the end of backup */