setting postgreSQL