git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2bce0ad) | patch
Add --copy-file-range option to pg_upgrade.
Tue, 5 Mar 2024 22:39:50 +0000 (11:39 +1300)
Tue, 5 Mar 2024 23:01:01 +0000 (12:01 +1300)
commit d93627bcbe5001750e7611f0e637200e2d81dcff
Add --copy-file-range option to pg_upgrade.

The copy_file_range() system call is available on at least Linux and
FreeBSD, and asks the kernel to use efficient ways to copy ranges of a
file. Options available to the kernel include sharing block ranges
(similar to --clone mode), and pushing down block copies to the storage
layer.

For automated testing, see PG_TEST_PG_UPGRADE_MODE. (Perhaps in a later
commit we could consider setting this mode for one of the CI targets.)

Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/CA%2BhUKGKe7Hb0-UNih8VD5UNZy5-ojxFb3Pr3xSBBL8qj2M2%3DdQ%40mail.gmail.com
configure diff | blob | blame | history
configure.ac diff | blob | blame | history
doc/src/sgml/ref/pgupgrade.sgml diff | blob | blame | history
meson.build diff | blob | blame | history
src/bin/pg_upgrade/TESTING diff | blob | blame | history
src/bin/pg_upgrade/check.c diff | blob | blame | history
src/bin/pg_upgrade/file.c diff | blob | blame | history
src/bin/pg_upgrade/option.c diff | blob | blame | history
src/bin/pg_upgrade/pg_upgrade.h diff | blob | blame | history
src/bin/pg_upgrade/relfilenumber.c diff | blob | blame | history
src/include/pg_config.h.in diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /