Always run the
pg_upgrade binary of the new server, not the old one.
pg_upgrade requires the specification of the old and new cluster's
data and executable (bin ) directories. You can also specify
- user and port values, and whether you want the data files linked or clon ed
+ user and port values, and whether you want the data files linked, cloned, or swapp ed
instead of the default copy behavior.
to perform only the checks, even if the old server is still
running. pg_upgrade --check will also outline any
manual adjustments you will need to make after the upgrade. If you
- are going to be using link or clone mode, you should use the option
- --link or --clone with
+ are going to be using link, clone, copy-file-range, or swap mode, you
+ should use the option --link , --clone ,
+ --copy-file-range , or --swap with
--check to enable mode-specific checks.
pg_upgrade requires write permission in the current directory.
- If the --link option was not
+ If neither --link nor --swap was
used, the old cluster was unmodified; it can be restarted.