Provided by: postgresql-common_53ubuntu3_all bug

NAME

       pg_upgradecluster - upgrade a new PostgreSQL cluster to a new major
       version.

SYNOPSIS

       pg_upgradecluster [-v newversion] version name [data dir]

DESCRIPTION

       pg_upgradecluster upgrades an existing PostgreSQL server cluster (i. e.
       a collection of databases served by a postmaster instance) to a new
       version specified by newversion (default: latest available version).
       The configuration files of the old version are copied to the new
       cluster.

       The cluster of the old version will be configured to use a previously
       unused port since the upgraded one will use the original port. The old
       cluster is not automatically be removed. After upgrade, please verify
       that the new cluster indeed works as expected; if so, you should remove
       the old cluster with pg_dropcluster(8).

SEE ALSO

       pg_createcluster(8), pg_dropcluster(8), pg_lsclusters(1), pg_wrapper(1)

AUTHOR

       Martin Pitt <mpitt@debian.org>