Change settings to postgres