Re: optimize file transfer in pg_upgrade
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Nathan Bossart <nathandbossart@gmail.com>, Robert Haas <robertmhaas@gmail.com>,
Greg Sabino Mullane <htamfids@gmail.com>, pgsql-hackers@postgresql.org, bruce@momjian.us
Date: 2025-03-19T16:44:38Z
Lists: pgsql-hackers
Hi, On 2025-03-19 12:28:33 -0400, Tom Lane wrote: > Nathan Bossart <nathandbossart@gmail.com> writes: > > I'm currently planning to commit this sometime early-ish next week. One > > notable loose end is the lack of a pg_upgrade test with a non-default > > tablespace, but that is an existing problem that IMHO is best handled > > separately (since we can only test it in cross-version upgrades). > > Agreed that that shouldn't block this, but we need some kind of > plan for testing it better. Yea, this is really suboptimal. Shouldn't allow_in_place_tablespaces be sufficient to deal with that scenario? Or at least it should make it reasonably easy to cope if it doesn't already suffice? 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