Update postgres settings.