I want to install PostgreSQL on a server that runs Ubuntu 14.04.2 LTS.
I understand that I have two options:
1) Install PostgreSQL using the source code distribution e.g., http://www.postgresql.org/ftp/source/v9.4.1/.
2) Install PostgreSQL using apt-get install postgresql postgresql-contrib
with instructions on https://help.ubuntu.com/community/PostgreSQL.
Which option should I use? Will there be a difference in the outcome? Will both options result in the same set up and configuration (assuming I choose the default installation with option #1)? Is there a situation where I would prefer option #1 over option #2 and vice versa?