pgsql: pg_basebackup: Skip a few more fsyncs if --no-sync is specified.

Started by Andres Freundover 4 years ago1 messagescomitters
Jump to latest
#1Andres Freund
andres@anarazel.de

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: /messages/by-id/20220119041646.rhuo3youiqxqjmo2@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(-)