Set postgresql settings