Re: pg_upgrade --copy-file-range

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tomas Vondra <tomas.vondra@enterprisedb.com>
Cc: Thomas Munro <thomas.munro@gmail.com>, Jakub Wartak <jakub.wartak@enterprisedb.com>, Peter Eisentraut <peter@eisentraut.org>, Michael Paquier <michael@paquier.xyz>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-03-25T14:32:03Z
Lists: pgsql-hackers
On Sat, Mar 23, 2024 at 9:47 AM Tomas Vondra
<tomas.vondra@enterprisedb.com> wrote:
> BTW is there a reason why the code calls "write" and not "pg_pwrite"?

I think it's mostly because I learned to code a really long time ago.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Allow using copy_file_range in write_reconstructed_file

  2. Allow copying files using clone/copy_file_range

  3. Align blocks in incremental backups to BLCKSZ

  4. Add --copy-file-range option to pg_upgrade.