Re: optimize file transfer in pg_upgrade
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Robert Haas <robertmhaas@gmail.com>, Greg Sabino Mullane <htamfids@gmail.com>, pgsql-hackers@postgresql.org,
bruce@momjian.us
Date: 2025-03-19T15:41:59Z
Lists: pgsql-hackers
Hi, On 2025-03-18 21:14:22 -0500, Nathan Bossart wrote: > From 8b6a5e0148c2f7a663f5003f12ae9461d2b06a5c Mon Sep 17 00:00:00 2001 > From: Nathan Bossart <nathan@postgresql.org> > Date: Tue, 18 Mar 2025 20:58:07 -0500 > Subject: [PATCH v7 1/4] Add test for pg_upgrade file transfer modes. > > This new test checks all of pg_upgrade's file transfer modes. For > each mode, we verify that pg_upgrade either succeeds (and some test > objects successfully reach the new version) or fails with an error > that indicates the mode is not supported on the current platform. LGTM. I'm sure we could do more than the test does today, but I think it's a good improvement. Greetings, Andres Freund
Commits
-
initdb: Add --no-sync-data-files.
- cf131fa94285 18.0 landed
-
pg_dump: Add --sequence-data.
- 9c49f0e8cd7d 18.0 landed
-
pg_upgrade: Add --swap for faster file transfer.
- 626d7236b65d 18.0 landed
-
Add test for pg_upgrade file transfer modes.
- af0d4901c1c3 18.0 landed
-
Fix an intermetant BF failure in 003_logical_slots.
- 6f97ef05d62a 17.0 cited