Skip to content

Glossary: PostgreSQL Beyond the Basics

pg_upgrade

Also written: --check, --link, --clone, --copy, --swap, delete_old_cluster.sh

The tool that converts a cluster to a new major version by moving the data files without rewriting them. Run it with `--check` first. `--link`, `--clone`, `--swap` and `--copy` decide how files reach the new cluster.

Where the book teaches it

Related terms

vacuumdbinitdbData checksums