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.rhuo3youiqxqj...@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9c86d9337eb0b9fdf7a8ce19d6044cc7ca0086fb

Modified Files
--------------
src/bin/pg_basebackup/pg_basebackup.c | 18 +++++++++++++++---
src/bin/pg_basebackup/walmethods.c    | 12 +++++++++++-
2 files changed, 26 insertions(+), 4 deletions(-)

Reply via email to