pgsql: Add pg_combinebackup --copy option

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

Add pg_combinebackup --copy option

Introduces --copy as an alternative to --clone and --copy-file-range.
This option simply picks the default mode to copy files, as if none of
the options was specified. This makes pg_combinebackup options more
consistent with pg_upgrade, and it makes testing simpler.

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/a9577bae6b5c88c6865597aacd33b93d1b17e497

Modified Files
--------------
doc/src/sgml/ref/pg_combinebackup.sgml | 10 ++++++++++
src/bin/pg_combinebackup/pg_combinebackup.c | 7 ++++++-
2 files changed, 16 insertions(+), 1 deletion(-)

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