pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add PG_TEST_PG_COMBINEBACKUP_MODE
Date: Sun, 30 Jun 2024 18:54:03 +0000
Message-ID: <E1sNzgZ-003h0r-3h@gemulon.postgresql.org> (raw)

Add PG_TEST_PG_COMBINEBACKUP_MODE

Introduces an environment variable PG_TEST_PG_COMBINEBACKUP_MODE, that
determines copy mode used by pg_combinebackup in TAP tests. Defaults to
"--copy" but may be set to "--clone" or "--copy-file-range" to use the
alternative stategies.

Reported-by: Peter Eisentraut
Discussion: https://postgr.es/m/48da4a1f-ccd9-4988-9622-24f37b1de2b4%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/35a7b288b975f8b13084307c4b610e3bed5ca046

Modified Files
--------------
src/bin/pg_combinebackup/t/002_compare_backups.pl |  8 +++++++-
src/bin/pg_combinebackup/t/003_timeline.pl        |  8 +++++++-
src/bin/pg_combinebackup/t/004_manifest.pl        |  9 ++++++--
src/bin/pg_combinebackup/t/005_integrity.pl       | 25 ++++++++++++++---------
src/bin/pg_combinebackup/t/006_db_file_copy.pl    |  8 +++++++-
src/test/perl/PostgreSQL/Test/Cluster.pm          |  5 +++++
6 files changed, 48 insertions(+), 15 deletions(-)



Message-ID: <E1sNzgZ-003h0r-3h@gemulon.postgresql.org>
Permalink:  ../E1sNzgZ-003h0r-3h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sNzgZ-003h0r-3h@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tomas.vondra@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add PG_TEST_PG_COMBINEBACKUP_MODE
  In-Reply-To: <E1sNzgZ-003h0r-3h@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