Configure postgres settings