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

Andres Freund <andres@anarazel.de>

Commit: 9c86d9337eb0b9fdf7a8ce19d6044cc7ca0086fb
Author: Andres Freund <andres@anarazel.de>
Date: 2022-01-23T22:09:27Z
Releases: 15.0
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

Files

PathChange+/−
src/bin/pg_basebackup/pg_basebackup.c modified +15 −3
src/bin/pg_basebackup/walmethods.c modified +11 −1

Discussion