Skip to content

Commit 623c0d3

Browse files
committed
do not fsync streamed WAL segments
1 parent 20dfb01 commit 623c0d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ StreamLog(void *arg)
212212
stream_arg->basedir,
213213
// (instance_config.compress_alg == NONE_COMPRESS) ? 0 : instance_config.compress_level,
214214
0,
215-
true);
215+
false);
216216
ctl.replication_slot = replication_slot;
217217
ctl.stop_socket = PGINVALID_SOCKET;
218218
ctl.do_sync = false; /* We sync all files at the end of backup */

0 commit comments

Comments
 (0)