Make connection to PostgreSQL