http://www.postgresql.org/
documentation with user comments: http://www.postgresql.org/docs/8.4/interactive/index.html
install on Ubuntu
http://wiki.ubuntuusers.de/PostgreSQL (German)
https://help.ubuntu.com/community/PostgreSQL
sudo apt-get install postgresql
pgAdmin III is a handy GUI for PostgreSQL, it is essential to beginners. To install it, type at the command line:
sudo apt-get install pgadmin3
Setup:
Now you have to set the password for the admin user postgres:
sudo -u postgres psql template1
This opens a PostgreSQL environment (looks like template1=#). Now do
ALTER ROLE postgres WITH PASSWORD 'new password';
if all worked you get ALTER ROLE as response. To quit the postgres environment do \q.