settings and postgres