postgresql_16:4.4.6.2 Upgrading Data via pg_upgrade
PostgreSQL 16 > Server Administration > Server Setup and Operation > Upgrading a PostgreSQL Cluster > Upgrading Data via pg_upgrade
The (see postgresql_16:7.3.10) module allows an installation to be migrated in-place from one major PostgreSQL version to another. Upgrades can be performed in minutes, particularly with --link mode. It requires steps similar to pg_dumpall above, e.g., starting/stopping the server, running initdb. The pg_upgrade documentation (see postgresql_16:7.3.10) outlines the necessary steps.