Pastebin

Paste #8756: No description

< previous paste - next paste>

Pasted by Anonymous Coward

Download View as text

                                                                                                                                                                         
                                                                                                                                                                              
                                                                                                                                                                              
 ┌────────────────────────────────────────────────────────────────────┤ Configuring postgresql-common ├────────────────────────────────────────────────────────────────────┐  
 │                                                                                                                                                                         │  
 │ Obsolete major version 9.1                                                                                                                                              │  
 │                                                                                                                                                                         │  
 │ The PostgreSQL version 9.1 is obsolete, but the server or client packages are still installed. Please install the latest packages (postgresql-9.4 and                   │  
 │ postgresql-client-9.4) and upgrade the existing  clusters with pg_upgradecluster (see manpage).                                                                         │  
 │                                                                                                                                                                         │  
 │ Please be aware that the installation of postgresql-9.4 will automatically create a default cluster 9.4/main. If you want to upgrade the 9.1/main cluster, you need to  │  
 │ remove the already existing 9.4 cluster (pg_dropcluster --stop 9.4 main, see manpage for details).                                                                      │  
 │                                                                                                                                                                         │  
 │ The old server and client packages are no longer supported. After the existing clusters are upgraded, the postgresql-9.1 and postgresql-client-9.1 packages should be   │  
 │ removed.                                                                                                                                                                │  
 │                                                                                                                                                                         │  
 │ Please see /usr/share/doc/postgresql-common/README.Debian.gz for details.                                                                                               │  
 │                                                                                                                                                                         │  
 │                                                                                 <Ok>                                                                                    │  
 │                                                                                                                                                                         │  
 └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  
                                                                                                                                                                              
                                                                                                                                                                              
                                       ´



postgres@sdksvn:~$ pg_dropcluster --stop 9.4 main
postgres@sdksvn:~$ pg_upgradecluster 9.1 main
Stopping old cluster...
Disabling connections to the old cluster during upgrade...
Restarting old cluster with restricted connections...
Creating new cluster 9.4/main ...
  config /etc/postgresql/9.4/main
  data   /var/lib/postgresql/9.4/main
  locale en_DK.UTF-8
Flags of /var/lib/postgresql/9.4/main set as -------------e-C
  port   5433
Disabling connections to the new cluster during upgrade...
Roles, databases, schemas, ACLs...
 set_config
------------

(1 row)

 set_config
------------

(1 row)

Fixing hardcoded library paths for stored procedures...
Upgrading database postgres...
Analyzing database postgres...
Fixing hardcoded library paths for stored procedures...
Upgrading database template1...
Analyzing database template1...
Re-enabling connections to the old cluster...
Re-enabling connections to the new cluster...
Copying old configuration files...
Copying old start.conf...
Copying old pg_ctl.conf...
Copying old server.crt...
Copying old server.key...
Stopping target cluster...
Stopping old cluster...
Disabling automatic startup of old cluster...
Configuring old cluster to use a different port (5433)...
Starting target cluster on the original port...
Success. Please check that the upgraded cluster works. If it does,
you can remove the old cluster with

  pg_dropcluster 9.1 main
postgres@sdksvn:~$

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.