pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_basebackup: Skip a few more fsyncs if --no-sync is specified.
Date: Sun, 23 Jan 2022 22:11:16 +0000
Message-ID: <E1nBl4u-0007iI-Lo@gemulon.postgresql.org> (raw)

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



Message-ID: <E1nBl4u-0007iI-Lo@gemulon.postgresql.org>
Permalink:  ../E1nBl4u-0007iI-Lo@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nBl4u-0007iI-Lo@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: pg_basebackup: Skip a few more fsyncs if --no-sync is specified.
  In-Reply-To: <E1nBl4u-0007iI-Lo@gemulon.postgresql.org>
  References: <E1nBl4u-0007iI-Lo@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox