0

Debian 6 contains Postgres 9.1 installation installed from Debian backports in 5432 port

How to install Postgres 9.3 also on this server. I found instructions in http://www.postgresql.org/download/linux/debian/

Create the file /etc/apt/sources.list.d/pgdg.list, and add a line for the repository

deb http://apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main

wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | \
   sudo apt-key add -
sudo apt-get update 
apt-get install postgresql-9.3 

Will this keep existing 9.1 installation ? In what port new installed postgres will be listen ?

HopelessN00b
  • 53,795
  • 33
  • 135
  • 209
Andrus
  • 169
  • 4
  • 12

1 Answers1

0

Use http://apt.postgresql.org/ to get releases of PostgreSQL that'll install in parallel with existing installs on Debian and Ubuntu.

Craig Ringer
  • 11,083
  • 9
  • 40
  • 61