pg_basebackup: Skip a few more fsyncs if --no-sync is specified.
authorAndres Freund <andres@anarazel.de>
Sun, 23 Jan 2022 21:59:23 +0000 (13:59 -0800)
committerAndres Freund <andres@anarazel.de>
Sun, 23 Jan 2022 22:09:27 +0000 (14:09 -0800)
commit9c86d9337eb0b9fdf7a8ce19d6044cc7ca0086fb
tree036df91b4d925e429b911d6b7618e5849ecd6cfa
parentac7df108cf32e11e4bd120898ed09bd58fa5b62c
pg_basebackup: Skip a few more fsyncs if --no-sync is specified.

This is mostly interesting for running the regression tests on machines with
slow / overloaded IO.

Discussion: https://postgr.es/m/20220119041646.rhuo3youiqxqjmo2@alap3.anarazel.de
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/walmethods.c