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

From Andres Freund
Subject pgsql: pg_basebackup: Skip a few more fsyncs if --no-sync is specified.
Date
Msg-id E1nBl4u-0007iI-Lo@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: pg_dump: avoid useless query in binary_upgrade_set_type_oids_by_
Next
From: Andres Freund
Date:
Subject: pgsql: Temporarily add some information about python include paths to c