Postgres on Ubuntu 9.04
Here is what I needed to do to get postgres up on Ubunutu:
First the three first steps mentioned here:
http://hocuspokus.net/2008/05/install-postgresql-on-ubuntu-804
As in install postgresql, postgresql-client and postgresql-contrib. And also php-pgsql package.
Then set password as described in above link.
After that everything should be done like mentioned on this page, with the exception that "pgcrypto.sql" is in "/usr/share/postgresql/8.3/contrib/pgcrypto.sql"