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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 944dc45) | patch
Add option -N/--no-sync to pg_upgrade
2021年12月18日 07:18:45 +0000 (16:18 +0900)
2021年12月18日 07:18:45 +0000 (16:18 +0900)
commit 3d5ffccb6df323f528cf870c26d0d0517ffe3eaa
Add option -N/--no-sync to pg_upgrade

This is an option consistent with what the other tools of src/bin/
(pg_checksums, pg_dump, pg_rewind and pg_basebackup) provide which is
useful for leveraging the I/O effort when testing things. This is not
to be used in a production environment.

All the regression tests of pg_upgrade are updated to use this new
option. This happens to cut at most a couple of seconds in environments
constrained on I/O, by avoiding a flush of data folder for the new
cluster upgraded.

Author: Michael Paquier
Reviewed-by: Peter Eisentraut
Discussion: https://postgr.es/m/YbrhzuBmBxS/DkfX@paquier.xyz
doc/src/sgml/ref/pgupgrade.sgml diff | blob | blame | history
src/bin/pg_upgrade/option.c diff | blob | blame | history
src/bin/pg_upgrade/pg_upgrade.c diff | blob | blame | history
src/bin/pg_upgrade/pg_upgrade.h diff | blob | blame | history
src/bin/pg_upgrade/test.sh diff | blob | blame | history
src/tools/msvc/vcregress.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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