pgsql: Add PG_TEST_PG_COMBINEBACKUP_MODE

From: Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add PG_TEST_PG_COMBINEBACKUP_MODE
Date: 2024-06-30 18:54:03
Message-ID: E1sNzgZ-003h0r-3h@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-06-30 21:33:44 pgsql: Temporarily(?) weaken new pg_createsubscriber test on Windows.
Previous Message Tom Lane 2024-06-30 18:24:23 pgsql: Make pg_createsubscriber warn if publisher has two-phase commit