STEP 3 - Remove new cluster

Remove the new version cluster, which created during common Debian update (in
STEP
2):

pg_dropcluster --stop 9.5 main

STEP 4 - UPGRADE with pg_upgradecluster

In Debian there is a tool available to perform the upgrade. This is a Perl
script, named
pg_upgradecluster.
It will upgrade an existing PostgreSQL cluster to a new major version. Data
and configuration files of the old version are copied to the new cluster.
This
utility also reconfigures the old database cluster to use
a different network port.

Your comments are
welcomed!

This site actively encourages commenting on any post.
Comments are
not pre-moderated, but this community does not tolerate
direct or
indirect attacks, name-calling or insults. Please, read
terms of use
and Comment Policy at privacy
policy.