Add PG_TEST_PG_COMBINEBACKUP_MODE
authorTomas Vondra <tomas.vondra@postgresql.org>
Sun, 30 Jun 2024 17:26:12 +0000 (19:26 +0200)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sun, 30 Jun 2024 18:53:39 +0000 (20:53 +0200)
commit35a7b288b975f8b13084307c4b610e3bed5ca046
treebbc856518145225c90f1115086375ecee97c4018
parenta9577bae6b5c88c6865597aacd33b93d1b17e497
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
src/bin/pg_combinebackup/t/002_compare_backups.pl
src/bin/pg_combinebackup/t/003_timeline.pl
src/bin/pg_combinebackup/t/004_manifest.pl
src/bin/pg_combinebackup/t/005_integrity.pl
src/bin/pg_combinebackup/t/006_db_file_copy.pl
src/test/perl/PostgreSQL/Test/Cluster.pm