Configures settings for postgres.