Configure access to PostgreSql