pgsql: Add PG_TEST_PG_COMBINEBACKUP_MODE to CI tasks

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 to CI tasks
Date: 2024-09-10 14:30:56
Message-ID: E1so1tQ-000Rxl-AL@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add PG_TEST_PG_COMBINEBACKUP_MODE to CI tasks

The environment variable PG_TEST_PG_COMBINEBACKUP_MODE has been
available since 35a7b288b975, but was not set by any built-in CI tasks.
This commit modifies two of the CI tasks to use the alternative modes,
to exercise the pg_combinebackup code.

The Linux task uses --copy-file-range, macOS uses --clone.

This is not an exhaustive test of combinations. The supported modes
depend on the operating system and filesystem, and it would be nice to
test all supported combinations. Right now we have just one task for
each OS, and it doesn't seem worth adding more just for this.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/861086493faa9ca5468cc50dd20975ee6c042ffe

Modified Files
--------------
.cirrus.tasks.yml | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-09-10 18:48:22 pgsql: Improve documentation and testing of jsonpath string() for datet
Previous Message Daniel Gustafsson 2024-09-10 09:27:04 pgsql: Protect against small overread in SASLprep validation