Re: pg_upgrade --copy-file-range
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-11-13T07:15:01Z
Lists: pgsql-hackers
On 08.10.23 07:15, Thomas Munro wrote: >> About your patch: >> >> I think you should have a "check" function called from >> check_new_cluster(). That check function can then also handle the "not >> supported" case, and you don't need to handle that in >> parseCommandLine(). I suggest following the clone example for these, >> since the issues there are very similar. > > Done. This version looks good to me. Tiny nit: You copy-and-pasted "%s/PG_VERSION.clonetest"; maybe choose a different suffix.
Commits
-
Allow using copy_file_range in write_reconstructed_file
- ac8110155132 17.0 landed
-
Allow copying files using clone/copy_file_range
- f8ce4ed78ca6 17.0 landed
-
Align blocks in incremental backups to BLCKSZ
- 10e3226ba13d 17.0 landed
-
Add --copy-file-range option to pg_upgrade.
- d93627bcbe50 17.0 landed