Set up Postgresql.